org.eclipse.jetty.client
类 HttpEventListenerWrapper

java.lang.Object
  继承者 org.eclipse.jetty.client.HttpEventListenerWrapper
所有已实现的接口:
HttpEventListener
直接已知子类:
RedirectListener, SecurityListener, WebdavListener

public class HttpEventListenerWrapper
extends Object
implements HttpEventListener


构造方法摘要
HttpEventListenerWrapper()
           
HttpEventListenerWrapper(HttpEventListener eventListener, boolean delegating)
           
 
方法摘要
 HttpEventListener getEventListener()
           
 boolean isDelegatingRequests()
           
 boolean isDelegatingResponses()
           
 void onConnectionFailed(Throwable ex)
           
 void onException(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)
           
 
从类 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.