org.eclipse.jetty.client
public class BlockingHttpConnection extends AbstractHttpConnection
_connectionHeader, _destination, _exchange, _generator, _http11, _parser, _pipeline, _reserved, _status
_endp
Modifier and Type | Method and Description |
---|---|
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) |
cancelIdleTimeout, close, commitRequest, dump, dump, getDestination, isIdle, isReserved, isSuspended, onClose, setDestination, setIdleTimeout, setReserved, toDetailString, toString
getEndPoint, getTimeStamp
protected void reset() throws java.io.IOException
reset
in class AbstractHttpConnection
java.io.IOException
protected void exchangeExpired(HttpExchange exchange)
exchangeExpired
in class AbstractHttpConnection
public void onIdleExpired(long idleForMs)
Connection
onIdleExpired
in interface Connection
onIdleExpired
in class AbstractConnection
idleForMs
- how long the connection has been idleConnection.isIdle()
public Connection handle() throws java.io.IOException
Connection
handle
in interface Connection
handle
in class AbstractHttpConnection
java.io.IOException
- if the handling of I/O operations failpublic boolean send(HttpExchange ex) throws java.io.IOException
send
in class AbstractHttpConnection
java.io.IOException
Copyright © 2014. All Rights Reserved.