Interface IPublicPromaInvocationContext

    • Method Detail

      • binaryTimeout

        Duration binaryTimeout()
        Returns:
        Timeout for binary requests or "large" requests such as downloads that you expect might take a long time.
      • bundle

        de.xima.proma.restclient.pub.gen.ApiBundle bundle()
        Returns:
        The API bundle to use, see PromaManager for obtaining bundles.
      • combinedTimeout

        Duration combinedTimeout()
        Returns:
        Combined timeout for multiple plain text requests or "small" requests which you do not expect to take a long time.
      • entityContextFactory

        Supplier<IEntityContext> entityContextFactory()
        Returns:
        The entity context factory to use for obtaining new entity context when required.
      • invoker

        IPublicPromaCallInvoker invoker()
        Returns:
        Instance that is responsible for sending ApiCall. An invoker might prepare an API call by adding certain properties etc. or running the call in a different thread.
      • sendsRequestsViaClient

        boolean sendsRequestsViaClient()
        Returns:
        true if the entire request or part of a request is sent via the browser of the user or requests data is in any way disclosed to the user and access is not strictly limited to the server only, false otherwise.
      • timeout

        Duration timeout()
        Returns:
        Timeout for plain text requests or "small" requests which you do not expect to take a long time.
      • userContext

        UserContext userContext()
        Returns:
        User who initiated the action that resulted in a request to PROMA.