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 java.util.Map<java.lang.String,java.lang.String> |
scrapeAuthenticationDetails(java.lang.String authString)
scrapes a set of authentication details from the authString
|
protected java.lang.String |
scrapeAuthenticationType(java.lang.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 java.lang.String scrapeAuthenticationType(java.lang.String authString)
authString - protected java.util.Map<java.lang.String,java.lang.String> scrapeAuthenticationDetails(java.lang.String authString)
authString - public void onResponseStatus(Buffer version, int status, Buffer reason) throws java.io.IOException
onResponseStatus in interface HttpEventListeneronResponseStatus in class HttpEventListenerWrapperjava.io.IOExceptionpublic void onResponseHeader(Buffer name, Buffer value) throws java.io.IOException
onResponseHeader in interface HttpEventListeneronResponseHeader in class HttpEventListenerWrapperjava.io.IOExceptionpublic void onRequestComplete()
throws java.io.IOException
onRequestComplete in interface HttpEventListeneronRequestComplete in class HttpEventListenerWrapperjava.io.IOExceptionpublic void onResponseComplete()
throws java.io.IOException
onResponseComplete in interface HttpEventListeneronResponseComplete in class HttpEventListenerWrapperjava.io.IOExceptionpublic void onRetry()
onRetry in interface HttpEventListeneronRetry in class HttpEventListenerWrapperCopyright © 2013 FuseSource, Corp.. All Rights Reserved.