org.eclipse.jetty.client
类 BlockingHttpConnection

java.lang.Object
  继承者 org.eclipse.jetty.io.AbstractConnection
      继承者 org.eclipse.jetty.client.AbstractHttpConnection
          继承者 org.eclipse.jetty.client.BlockingHttpConnection
所有已实现的接口:
Connection, Dumpable

public class BlockingHttpConnection
extends AbstractHttpConnection

Blocking HTTP Connection


字段摘要
 
从类 org.eclipse.jetty.client.AbstractHttpConnection 继承的字段
_connectionHeader, _destination, _exchange, _generator, _http11, _parser, _pipeline, _reserved, _status
 
从类 org.eclipse.jetty.io.AbstractConnection 继承的字段
_endp
 
方法摘要
protected  void exchangeExpired(HttpExchange exchange)
           
 Connection handle()
          Handle the connection.
 void onIdleExpired(long idleForMs)
          Called when the connection idle timeout expires
protected  void reset()
           
 boolean send(HttpExchange ex)
           
 
从类 org.eclipse.jetty.client.AbstractHttpConnection 继承的方法
cancelIdleTimeout, close, commitRequest, dump, dump, getDestination, isIdle, isReserved, isSuspended, onClose, setDestination, setIdleTimeout, setReserved, toDetailString, toString
 
从类 org.eclipse.jetty.io.AbstractConnection 继承的方法
getEndPoint, getTimeStamp
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

方法详细信息

reset

protected void reset()
              throws IOException
覆盖:
AbstractHttpConnection 中的 reset
抛出:
IOException

exchangeExpired

protected void exchangeExpired(HttpExchange exchange)
覆盖:
AbstractHttpConnection 中的 exchangeExpired

onIdleExpired

public void onIdleExpired(long idleForMs)
从接口 Connection 复制的描述
Called when the connection idle timeout expires

指定者:
接口 Connection 中的 onIdleExpired
覆盖:
AbstractConnection 中的 onIdleExpired
参数:
idleForMs - how long the connection has been idle
另请参见:
Connection.isIdle()

handle

public Connection handle()
                  throws IOException
从接口 Connection 复制的描述
Handle the connection.

指定者:
接口 Connection 中的 handle
指定者:
AbstractHttpConnection 中的 handle
返回:
The Connection to use for the next handling of the connection. This allows protocol upgrades and support for CONNECT.
抛出:
IOException - if the handling of I/O operations fail

send

public boolean send(HttpExchange ex)
             throws IOException
覆盖:
AbstractHttpConnection 中的 send
抛出:
IOException


Copyright © 2013. All Rights Reserved.