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 java.lang.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(java.lang.Throwable ex)
- Specified by:
onConnectionFailed in interface HttpEventListener
onException
public void onException(java.lang.Throwable ex)
- Specified by:
onException in interface HttpEventListener
onExpire
public void onExpire()
- Specified by:
onExpire in interface HttpEventListener
onRequestCommitted
public void onRequestCommitted()
throws java.io.IOException
- Specified by:
onRequestCommitted in interface HttpEventListener
- Throws:
java.io.IOException
onRequestComplete
public void onRequestComplete()
throws java.io.IOException
- Specified by:
onRequestComplete in interface HttpEventListener
- Throws:
java.io.IOException
onResponseComplete
public void onResponseComplete()
throws java.io.IOException
- Specified by:
onResponseComplete in interface HttpEventListener
- Throws:
java.io.IOException
onResponseContent
public void onResponseContent(Buffer content)
throws java.io.IOException
- Specified by:
onResponseContent in interface HttpEventListener
- Throws:
java.io.IOException
onResponseHeader
public void onResponseHeader(Buffer name,
Buffer value)
throws java.io.IOException
- Specified by:
onResponseHeader in interface HttpEventListener
- Throws:
java.io.IOException
onResponseHeaderComplete
public void onResponseHeaderComplete()
throws java.io.IOException
- Specified by:
onResponseHeaderComplete in interface HttpEventListener
- Throws:
java.io.IOException
onResponseStatus
public void onResponseStatus(Buffer version,
int status,
Buffer reason)
throws java.io.IOException
- Specified by:
onResponseStatus in interface HttpEventListener
- Throws:
java.io.IOException
onRetry
public void onRetry()
- Specified by:
onRetry in interface HttpEventListener
Copyright © 1995-2010 Mort Bay Consulting. All Rights Reserved.