org.eclipse.jetty.server
Class AsyncHttpConnection

java.lang.Object
  extended by org.eclipse.jetty.io.AbstractConnection
      extended by org.eclipse.jetty.server.AbstractHttpConnection
          extended by org.eclipse.jetty.server.AsyncHttpConnection
All Implemented Interfaces:
Connection, AsyncConnection

public class AsyncHttpConnection
extends AbstractHttpConnection
implements AsyncConnection

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.
 void onInputShutdown()
           
 
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
 
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, isSuspended, onClose, onIdleExpired
 

Constructor Detail

AsyncHttpConnection

public AsyncHttpConnection(Connector connector,
                           EndPoint endpoint,
                           Server server)
Method Detail

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.