public class AsyncHttpConnection extends AbstractHttpConnection implements AsyncConnection
_connectionHeader, _destination, _exchange, _generator, _http11, _parser, _pipeline, _reserved, _status
_endp
Modifier and Type | Method and Description |
---|---|
Connection |
handle()
Handle the connection.
|
void |
onInputShutdown() |
protected void |
reset() |
boolean |
send(HttpExchange ex) |
cancelIdleTimeout, close, commitRequest, dump, dump, exchangeExpired, getDestination, isIdle, isReserved, isSuspended, onClose, setDestination, setIdleTimeout, setReserved, toDetailString, toString
getEndPoint, getTimeStamp, onIdleExpired
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getTimeStamp, isIdle, isSuspended, onClose, onIdleExpired
protected void reset() throws java.io.IOException
reset
in class AbstractHttpConnection
java.io.IOException
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 void onInputShutdown() throws java.io.IOException
onInputShutdown
in interface AsyncConnection
java.io.IOException
public boolean send(HttpExchange ex) throws java.io.IOException
send
in class AbstractHttpConnection
java.io.IOException
Copyright © 2013. All Rights Reserved.