org.eclipse.jetty.client
Class AsyncHttpConnection
java.lang.Object
org.eclipse.jetty.io.AbstractConnection
org.eclipse.jetty.client.AbstractHttpConnection
org.eclipse.jetty.client.AsyncHttpConnection
- All Implemented Interfaces:
- Connection, AsyncConnection, Dumpable
public class AsyncHttpConnection
- extends AbstractHttpConnection
- implements AsyncConnection
Asynchronous Client HTTP Connection
Methods inherited from class org.eclipse.jetty.client.AbstractHttpConnection |
cancelIdleTimeout, close, commitRequest, dump, dump, exchangeExpired, getDestination, isIdle, isReserved, isSuspended, onClose, setDestination, setIdleTimeout, setReserved, toDetailString, toString |
reset
protected void reset()
throws IOException
- Overrides:
reset
in class AbstractHttpConnection
- Throws:
IOException
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
send
public boolean send(HttpExchange ex)
throws IOException
- Overrides:
send
in class AbstractHttpConnection
- Throws:
IOException
Copyright © 1995-2011 Mort Bay Consulting. All Rights Reserved.