Interface HttpAuthorizationProvider

    • Method Detail

      • init

        void init​(HttpExternalSystemData configuration)
        Initializes the required information based on the provided configuration
        configuration - Provides the configuration data of an HTTP protocol based external system
      • handleRequestRetry

        default boolean handleRequestRetry​(int statusCode)
        This method allows to execute additional actions required by the authorization method before retrying a request for which an error response is received. It also allows to skip the retry if needed by using the returned value: if true is returned then the retry is done and if false is returned then no retry is attempted.
        statusCode - The status code of the external system response
        true if it is necessary to retry the connection with the External System or false to skip the retry