org.eclipse.jetty.server
Class AsyncHttpConnection
java.lang.Object
org.eclipse.jetty.io.AbstractConnection
org.eclipse.jetty.server.AbstractHttpConnection
org.eclipse.jetty.server.AsyncHttpConnection
- All Implemented Interfaces:
- Connection, AsyncConnection
public class AsyncHttpConnection
- extends AbstractHttpConnection
- implements AsyncConnection
Asychronous Server HTTP connection
Fields inherited from class org.eclipse.jetty.server.AbstractHttpConnection |
_connector, _generator, _in, _out, _parser, _printWriter, _request, _requestFields, _response, _responseFields, _server, _uri, _writer |
Methods inherited from class org.eclipse.jetty.server.AbstractHttpConnection |
commitResponse, completeResponse, flushResponse, getAssociatedObject, getConnector, getCurrentConnection, getGenerator, getInputStream, getMaxIdleTime, getOutputStream, getParser, getPrintWriter, getRequest, getRequestFields, getRequests, getResolveNames, getResponse, getResponseFields, getServer, handleRequest, include, included, isConfidential, isExpecting100Continues, isExpecting102Processing, isIdle, isIncluding, isIntegral, isResponseCommitted, isSuspended, newHttpParser, onClose, reset, setAssociatedObject, setCurrentConnection, toString |
AsyncHttpConnection
public AsyncHttpConnection(Connector connector,
EndPoint endpoint,
Server server)
handle
public Connection handle()
throws IOException
- Description copied from interface:
Connection
- Handle the connection.
- Specified by:
handle
in interface Connection
- Specified by:
handle
in class AbstractHttpConnection
- Returns:
- The Connection to use for the next handling of the connection.
This allows protocol upgrades and support for CONNECT.
- Throws:
IOException
onInputShutdown
public void onInputShutdown()
throws IOException
- Specified by:
onInputShutdown
in interface AsyncConnection
- Throws:
IOException
Copyright © 1995-2012 Mort Bay Consulting. All Rights Reserved.