org.eclipse.jetty.client
Class HttpEventListenerWrapper
java.lang.Object
org.eclipse.jetty.client.HttpEventListenerWrapper
- All Implemented Interfaces:
- HttpEventListener
- Direct Known Subclasses:
- RedirectListener, SecurityListener, WebdavListener
public class HttpEventListenerWrapper
- extends Object
- implements HttpEventListener
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HttpEventListenerWrapper
public HttpEventListenerWrapper()
HttpEventListenerWrapper
public HttpEventListenerWrapper(HttpEventListener eventListener,
boolean delegating)
getEventListener
public HttpEventListener getEventListener()
setEventListener
public void setEventListener(HttpEventListener listener)
isDelegatingRequests
public boolean isDelegatingRequests()
isDelegatingResponses
public boolean isDelegatingResponses()
setDelegatingRequests
public void setDelegatingRequests(boolean delegating)
setDelegatingResponses
public void setDelegatingResponses(boolean delegating)
setDelegationResult
public void setDelegationResult(boolean result)
onConnectionFailed
public void onConnectionFailed(Throwable ex)
- Specified by:
onConnectionFailed
in interface HttpEventListener
onException
public void onException(Throwable ex)
- Specified by:
onException
in interface HttpEventListener
onExpire
public void onExpire()
- Specified by:
onExpire
in interface HttpEventListener
onRequestCommitted
public void onRequestCommitted()
throws IOException
- Specified by:
onRequestCommitted
in interface HttpEventListener
- Throws:
IOException
onRequestComplete
public void onRequestComplete()
throws IOException
- Specified by:
onRequestComplete
in interface HttpEventListener
- Throws:
IOException
onResponseComplete
public void onResponseComplete()
throws IOException
- Specified by:
onResponseComplete
in interface HttpEventListener
- Throws:
IOException
onResponseContent
public void onResponseContent(Buffer content)
throws IOException
- Specified by:
onResponseContent
in interface HttpEventListener
- Throws:
IOException
onResponseHeader
public void onResponseHeader(Buffer name,
Buffer value)
throws IOException
- Specified by:
onResponseHeader
in interface HttpEventListener
- Throws:
IOException
onResponseHeaderComplete
public void onResponseHeaderComplete()
throws IOException
- Specified by:
onResponseHeaderComplete
in interface HttpEventListener
- Throws:
IOException
onResponseStatus
public void onResponseStatus(Buffer version,
int status,
Buffer reason)
throws IOException
- Specified by:
onResponseStatus
in interface HttpEventListener
- Throws:
IOException
onRetry
public void onRetry()
- Specified by:
onRetry
in interface HttpEventListener
Copyright © 1995-2011 Mort Bay Consulting. All Rights Reserved.