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 继承的方法 |
cancelIdleTimeout, close, commitRequest, dump, dump, getDestination, isIdle, isReserved, isSuspended, onClose, setDestination, setIdleTimeout, setReserved, toDetailString, toString |
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.