org.eclipse.jetty.client
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 HttpEventListener
public void onException(java.lang.Throwable ex)
onException
in interface HttpEventListener
public void onExpire()
onExpire
in interface HttpEventListener
public void onRequestCommitted() throws java.io.IOException
onRequestCommitted
in interface HttpEventListener
java.io.IOException
public void onRequestComplete() throws java.io.IOException
onRequestComplete
in interface HttpEventListener
java.io.IOException
public void onResponseComplete() throws java.io.IOException
onResponseComplete
in interface HttpEventListener
java.io.IOException
public void onResponseContent(Buffer content) throws java.io.IOException
onResponseContent
in interface HttpEventListener
java.io.IOException
public void onResponseHeader(Buffer name, Buffer value) throws java.io.IOException
onResponseHeader
in interface HttpEventListener
java.io.IOException
public void onResponseHeaderComplete() throws java.io.IOException
onResponseHeaderComplete
in interface HttpEventListener
java.io.IOException
public void onResponseStatus(Buffer version, int status, Buffer reason) throws java.io.IOException
onResponseStatus
in interface HttpEventListener
java.io.IOException
public void onRetry()
onRetry
in interface HttpEventListener
Copyright © 2016. All Rights Reserved.