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, toStringgetEndPoint, getTimeStampprotected void reset()
throws java.io.IOException
reset in class AbstractHttpConnectionjava.io.IOExceptionprotected void exchangeExpired(HttpExchange exchange)
exchangeExpired in class AbstractHttpConnectionpublic void onIdleExpired(long idleForMs)
ConnectiononIdleExpired in interface ConnectiononIdleExpired in class AbstractConnectionidleForMs - how long the connection has been idleConnection.isIdle()public Connection handle() throws java.io.IOException
Connectionhandle in interface Connectionhandle in class AbstractHttpConnectionjava.io.IOException - if the handling of I/O operations failpublic boolean send(HttpExchange ex) throws java.io.IOException
send in class AbstractHttpConnectionjava.io.IOExceptionCopyright © 2013 FuseSource, Corp.. All Rights Reserved.