org.eclipse.jetty.client
接口 HttpEventListener

所有已知实现类:
HttpEventListenerWrapper, RedirectListener, SecurityListener, WebdavListener

public interface HttpEventListener


方法摘要
 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()
           
 

方法详细信息

onRequestCommitted

void onRequestCommitted()
                        throws IOException
抛出:
IOException

onRequestComplete

void onRequestComplete()
                       throws IOException
抛出:
IOException

onResponseStatus

void onResponseStatus(Buffer version,
                      int status,
                      Buffer reason)
                      throws IOException
抛出:
IOException

onResponseHeader

void onResponseHeader(Buffer name,
                      Buffer value)
                      throws IOException
抛出:
IOException

onResponseHeaderComplete

void onResponseHeaderComplete()
                              throws IOException
抛出:
IOException

onResponseContent

void onResponseContent(Buffer content)
                       throws IOException
抛出:
IOException

onResponseComplete

void onResponseComplete()
                        throws IOException
抛出:
IOException

onConnectionFailed

void onConnectionFailed(Throwable ex)

onException

void onException(Throwable ex)

onExpire

void onExpire()

onRetry

void onRetry()


Copyright © 2013. All Rights Reserved.