public class HttpEventListenerWrapper extends java.lang.Object implements HttpEventListener
| Constructor and Description |
|---|
HttpEventListenerWrapper() |
HttpEventListenerWrapper(HttpEventListener eventListener,
boolean delegating) |
| Modifier and Type | Method and Description |
|---|---|
HttpEventListener |
getEventListener() |
boolean |
isDelegatingRequests() |
boolean |
isDelegatingResponses() |
void |
onConnectionFailed(java.lang.Throwable ex) |
void |
onException(java.lang.Throwable ex) |
void |
onExpire() |
void |
onRequestCommitted() |
void |
onRequestComplete() |
void |
onResponseComplete() |
void |
onResponseContent(Buffer content) |
void |
onResponseHeader(Buffer name,
Buffer value) |
void |
onResponseHeaderComplete() |
void |
onResponseStatus(Buffer version,
int status,
Buffer reason) |
void |
onRetry() |
void |
setDelegatingRequests(boolean delegating) |
void |
setDelegatingResponses(boolean delegating) |
void |
setDelegationResult(boolean result) |
void |
setEventListener(HttpEventListener listener) |
public HttpEventListenerWrapper()
public HttpEventListenerWrapper(HttpEventListener eventListener, boolean delegating)
public HttpEventListener getEventListener()
public void setEventListener(HttpEventListener listener)
public boolean isDelegatingRequests()
public boolean isDelegatingResponses()
public void setDelegatingRequests(boolean delegating)
public void setDelegatingResponses(boolean delegating)
public void setDelegationResult(boolean result)
public void onConnectionFailed(java.lang.Throwable ex)
onConnectionFailed in interface HttpEventListenerpublic void onException(java.lang.Throwable ex)
onException in interface HttpEventListenerpublic void onExpire()
onExpire in interface HttpEventListenerpublic void onRequestCommitted()
throws java.io.IOException
onRequestCommitted in interface HttpEventListenerjava.io.IOExceptionpublic void onRequestComplete()
throws java.io.IOException
onRequestComplete in interface HttpEventListenerjava.io.IOExceptionpublic void onResponseComplete()
throws java.io.IOException
onResponseComplete in interface HttpEventListenerjava.io.IOExceptionpublic void onResponseContent(Buffer content) throws java.io.IOException
onResponseContent in interface HttpEventListenerjava.io.IOExceptionpublic void onResponseHeader(Buffer name, Buffer value) throws java.io.IOException
onResponseHeader in interface HttpEventListenerjava.io.IOExceptionpublic void onResponseHeaderComplete()
throws java.io.IOException
onResponseHeaderComplete in interface HttpEventListenerjava.io.IOExceptionpublic void onResponseStatus(Buffer version, int status, Buffer reason) throws java.io.IOException
onResponseStatus in interface HttpEventListenerjava.io.IOExceptionpublic void onRetry()
onRetry in interface HttpEventListenerCopyright © 2013 FuseSource, Corp.. All Rights Reserved.