Interface ProxyControllerInterceptor
public interface ProxyControllerInterceptor
- Author:
- Kevin Roast
-
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanexceptionOnError(RemoteConfigElement.EndpointDescriptor endpoint, String uri)
-
Method Details
-
allowHttpBasicAuthentication
- Parameters:
endpoint- EndpointDescriptor for the requesturi- 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
- Parameters:
endpoint- EndpointDescriptor for the requesturi- Path uri for the request- Returns:
- true to throw an exception on 500 server error response, else just return the response code.
-