public class RedirectListener extends HttpEventListenerWrapper
| Constructor and Description |
|---|
RedirectListener(HttpDestination destination,
HttpExchange ex) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkExchangeComplete() |
void |
onConnectionFailed(Throwable ex)
Delegate failed connection
|
void |
onException(Throwable ex)
Delegate onException
|
void |
onRequestComplete() |
void |
onResponseComplete() |
void |
onResponseHeader(Buffer name,
Buffer value) |
void |
onResponseStatus(Buffer version,
int status,
Buffer reason) |
void |
onRetry() |
getEventListener, isDelegatingRequests, isDelegatingResponses, onExpire, onRequestCommitted, onResponseContent, onResponseHeaderComplete, setDelegatingRequests, setDelegatingResponses, setDelegationResult, setEventListenerpublic RedirectListener(HttpDestination destination, HttpExchange ex)
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 boolean checkExchangeComplete()
throws IOException
IOExceptionpublic void onRetry()
onRetry in interface HttpEventListeneronRetry in class HttpEventListenerWrapperpublic void onConnectionFailed(Throwable ex)
onConnectionFailed in interface HttpEventListeneronConnectionFailed in class HttpEventListenerWrapperpublic void onException(Throwable ex)
onException in interface HttpEventListeneronException in class HttpEventListenerWrapperCopyright © 1995-2015 Mort Bay Consulting. All Rights Reserved.