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, setEventListener
public 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 HttpEventListener
onResponseStatus
in class HttpEventListenerWrapper
java.io.IOException
public void onResponseHeader(Buffer name, Buffer value) throws java.io.IOException
onResponseHeader
in interface HttpEventListener
onResponseHeader
in class HttpEventListenerWrapper
java.io.IOException
public void onRequestComplete() throws java.io.IOException
onRequestComplete
in interface HttpEventListener
onRequestComplete
in class HttpEventListenerWrapper
java.io.IOException
public void onResponseComplete() throws java.io.IOException
onResponseComplete
in interface HttpEventListener
onResponseComplete
in class HttpEventListenerWrapper
java.io.IOException
public void onRetry()
onRetry
in interface HttpEventListener
onRetry
in class HttpEventListenerWrapper
Copyright © 2012. All Rights Reserved.