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