Interface ProxyControllerInterceptor


public interface ProxyControllerInterceptor
Author:
Kevin Roast
  • Method Details

    • allowHttpBasicAuthentication

      boolean allowHttpBasicAuthentication(RemoteConfigElement.EndpointDescriptor endpoint, String uri)
      Parameters:
      endpoint - EndpointDescriptor for the request
      uri - Path uri for the request
      Returns:
      true if the Proxy Controller should allow HTTP Basic Authentication to be used for the given endpoint and URL, false to simply return a plain 401 response.
    • exceptionOnError

      boolean exceptionOnError(RemoteConfigElement.EndpointDescriptor endpoint, String uri)
      Parameters:
      endpoint - EndpointDescriptor for the request
      uri - Path uri for the request
      Returns:
      true to throw an exception on 500 server error response, else just return the response code.