public class RedirectListener extends HttpEventListenerWrapper
| Constructor and Description |
|---|
RedirectListener(HttpDestination destination,
HttpExchange ex) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkExchangeComplete() |
void |
onConnectionFailed(java.lang.Throwable ex)
Delegate failed connection
|
void |
onException(java.lang.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 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 boolean checkExchangeComplete()
throws java.io.IOException
java.io.IOExceptionpublic void onRetry()
onRetry in interface HttpEventListeneronRetry in class HttpEventListenerWrapperpublic void onConnectionFailed(java.lang.Throwable ex)
onConnectionFailed in interface HttpEventListeneronConnectionFailed in class HttpEventListenerWrapperpublic void onException(java.lang.Throwable ex)
onException in interface HttpEventListeneronException in class HttpEventListenerWrapperCopyright © 2013 FuseSource, Corp.. All Rights Reserved.