|
||||||||||
| 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 Connectionhandle in class AbstractHttpConnectionjava.io.IOException - if the handling of I/O operations fail
public void onInputShutdown()
throws java.io.IOException
onInputShutdown in interface AsyncConnectionjava.io.IOExceptionpublic void reset()
reset in class AbstractHttpConnectionpublic boolean isSuspended()
ConnectionThe 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 ConnectionisSuspended in class AbstractHttpConnectionConnection.isSuspended()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||