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