public class SecurityListener extends HttpEventListenerWrapper
| Constructor and Description |
|---|
SecurityListener(HttpDestination destination,
HttpExchange ex) |
| Modifier and Type | Method and Description |
|---|---|
void |
onRequestComplete() |
void |
onResponseComplete() |
void |
onResponseHeader(Buffer name,
Buffer value) |
void |
onResponseStatus(Buffer version,
int status,
Buffer reason) |
void |
onRetry() |
protected Map<String,String> |
scrapeAuthenticationDetails(String authString)
scrapes a set of authentication details from the authString
|
protected String |
scrapeAuthenticationType(String authString)
scrapes an authentication type from the authString
|
getEventListener, isDelegatingRequests, isDelegatingResponses, onConnectionFailed, onException, onExpire, onRequestCommitted, onResponseContent, onResponseHeaderComplete, setDelegatingRequests, setDelegatingResponses, setDelegationResult, setEventListenerpublic SecurityListener(HttpDestination destination, HttpExchange ex)
protected String scrapeAuthenticationType(String authString)
authString - protected Map<String,String> scrapeAuthenticationDetails(String authString)
authString - public void onResponseStatus(Buffer version, int status, Buffer reason) throws IOException
onResponseStatus in interface HttpEventListeneronResponseStatus in class HttpEventListenerWrapperIOExceptionpublic void onResponseHeader(Buffer name, Buffer value) throws IOException
onResponseHeader in interface HttpEventListeneronResponseHeader in class HttpEventListenerWrapperIOExceptionpublic void onRequestComplete()
throws IOException
onRequestComplete in interface HttpEventListeneronRequestComplete in class HttpEventListenerWrapperIOExceptionpublic void onResponseComplete()
throws IOException
onResponseComplete in interface HttpEventListeneronResponseComplete in class HttpEventListenerWrapperIOExceptionpublic void onRetry()
onRetry in interface HttpEventListeneronRetry in class HttpEventListenerWrapperCopyright © 1995-2015 Mort Bay Consulting. All Rights Reserved.