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 IOException
reset in class AbstractHttpConnectionIOExceptionprotected 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 IOException
Connectionhandle in interface Connectionhandle in class AbstractHttpConnectionIOException - if the handling of I/O operations failpublic boolean send(HttpExchange ex) throws IOException
send in class AbstractHttpConnectionIOExceptionCopyright © 1995-2015 Mort Bay Consulting. All Rights Reserved.