org.eclipse.jetty.client
类 HttpEventListenerWrapper
java.lang.Object
org.eclipse.jetty.client.HttpEventListenerWrapper
- 所有已实现的接口:
- HttpEventListener
- 直接已知子类:
- RedirectListener, SecurityListener, WebdavListener
public class HttpEventListenerWrapper
- extends Object
- implements HttpEventListener
| 从类 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)
- 指定者:
- 接口
HttpEventListener 中的 onConnectionFailed
onException
public void onException(Throwable ex)
- 指定者:
- 接口
HttpEventListener 中的 onException
onExpire
public void onExpire()
- 指定者:
- 接口
HttpEventListener 中的 onExpire
onRequestCommitted
public void onRequestCommitted()
throws IOException
- 指定者:
- 接口
HttpEventListener 中的 onRequestCommitted
- 抛出:
IOException
onRequestComplete
public void onRequestComplete()
throws IOException
- 指定者:
- 接口
HttpEventListener 中的 onRequestComplete
- 抛出:
IOException
onResponseComplete
public void onResponseComplete()
throws IOException
- 指定者:
- 接口
HttpEventListener 中的 onResponseComplete
- 抛出:
IOException
onResponseContent
public void onResponseContent(Buffer content)
throws IOException
- 指定者:
- 接口
HttpEventListener 中的 onResponseContent
- 抛出:
IOException
onResponseHeader
public void onResponseHeader(Buffer name,
Buffer value)
throws IOException
- 指定者:
- 接口
HttpEventListener 中的 onResponseHeader
- 抛出:
IOException
onResponseHeaderComplete
public void onResponseHeaderComplete()
throws IOException
- 指定者:
- 接口
HttpEventListener 中的 onResponseHeaderComplete
- 抛出:
IOException
onResponseStatus
public void onResponseStatus(Buffer version,
int status,
Buffer reason)
throws IOException
- 指定者:
- 接口
HttpEventListener 中的 onResponseStatus
- 抛出:
IOException
onRetry
public void onRetry()
- 指定者:
- 接口
HttpEventListener 中的 onRetry
Copyright © 2013. All Rights Reserved.