Interface ProxyControllerInterceptor
-
public interface ProxyControllerInterceptor- Author:
- Kevin Roast
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanallowHttpBasicAuthentication(RemoteConfigElement.EndpointDescriptor endpoint, java.lang.String uri)booleanexceptionOnError(RemoteConfigElement.EndpointDescriptor endpoint, java.lang.String uri)
-
-
-
Method Detail
-
allowHttpBasicAuthentication
boolean allowHttpBasicAuthentication(RemoteConfigElement.EndpointDescriptor endpoint, java.lang.String uri)
- 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
boolean exceptionOnError(RemoteConfigElement.EndpointDescriptor endpoint, java.lang.String uri)
- 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.
-
-