org.eclipse.jetty.client
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, setEventListener
public RedirectListener(HttpDestination destination, HttpExchange ex)
public void onResponseStatus(Buffer version, int status, Buffer reason) throws java.io.IOException
onResponseStatus
in interface HttpEventListener
onResponseStatus
in class HttpEventListenerWrapper
java.io.IOException
public void onResponseHeader(Buffer name, Buffer value) throws java.io.IOException
onResponseHeader
in interface HttpEventListener
onResponseHeader
in class HttpEventListenerWrapper
java.io.IOException
public void onRequestComplete() throws java.io.IOException
onRequestComplete
in interface HttpEventListener
onRequestComplete
in class HttpEventListenerWrapper
java.io.IOException
public void onResponseComplete() throws java.io.IOException
onResponseComplete
in interface HttpEventListener
onResponseComplete
in class HttpEventListenerWrapper
java.io.IOException
public boolean checkExchangeComplete() throws java.io.IOException
java.io.IOException
public void onRetry()
onRetry
in interface HttpEventListener
onRetry
in class HttpEventListenerWrapper
public void onConnectionFailed(java.lang.Throwable ex)
onConnectionFailed
in interface HttpEventListener
onConnectionFailed
in class HttpEventListenerWrapper
public void onException(java.lang.Throwable ex)
onException
in interface HttpEventListener
onException
in class HttpEventListenerWrapper
Copyright © 2013. All Rights Reserved.