|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jetty.io.AbstractConnection
org.eclipse.jetty.server.AbstractHttpConnection
org.eclipse.jetty.server.AsyncHttpConnection
public class AsyncHttpConnection
Asychronous Server HTTP connection
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.eclipse.jetty.server.AbstractHttpConnection |
---|
AbstractHttpConnection.Output, AbstractHttpConnection.OutputWriter |
Field Summary |
---|
Fields inherited from class org.eclipse.jetty.server.AbstractHttpConnection |
---|
_connector, _generator, _in, _out, _parser, _printWriter, _request, _requestFields, _response, _responseFields, _server, _uri, _writer |
Fields inherited from class org.eclipse.jetty.io.AbstractConnection |
---|
_endp |
Constructor Summary | |
---|---|
AsyncHttpConnection(Connector connector,
EndPoint endpoint,
Server server)
|
Method Summary | |
---|---|
Connection |
handle()
Handle the connection. |
boolean |
isSuspended()
The semantic of this method is to return true to indicate interest in further reads, or false otherwise, but it is misnamed and should be really called isReadInterested() . |
void |
onInputShutdown()
|
void |
reset()
|
Methods inherited from class org.eclipse.jetty.io.AbstractConnection |
---|
getEndPoint, getTimeStamp, onIdleExpired |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.eclipse.jetty.io.Connection |
---|
getTimeStamp, isIdle, onClose, onIdleExpired |
Constructor Detail |
---|
public AsyncHttpConnection(Connector connector, EndPoint endpoint, Server server)
Method Detail |
---|
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 void reset()
reset
in class AbstractHttpConnection
public boolean isSuspended()
Connection
The semantic of this method is to return true to indicate interest in further reads,
or false otherwise, but it is misnamed and should be really called isReadInterested()
.
isSuspended
in interface Connection
isSuspended
in class AbstractHttpConnection
Connection.isSuspended()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |