org.eclipse.jetty.client
Class HttpConnection
java.lang.Object
org.eclipse.jetty.client.HttpConnection
- All Implemented Interfaces:
- Connection
public class HttpConnection
- extends Object
- implements Connection
- Version:
- $Revision: 879 $ $Date: 2009-09-11 16:13:28 +0200 (Fri, 11 Sep 2009) $
dump
public void dump()
throws IOException
- Throws:
IOException
getTimeStamp
public long getTimeStamp()
- Specified by:
getTimeStamp
in interface Connection
setReserved
public void setReserved(boolean reserved)
isReserved
public boolean isReserved()
getDestination
public HttpDestination getDestination()
setDestination
public void setDestination(HttpDestination destination)
send
public boolean send(HttpExchange ex)
throws IOException
- Throws:
IOException
handle
public Connection handle()
throws IOException
- Description copied from interface:
Connection
- Handle the connection.
- Specified by:
handle
in interface Connection
- Returns:
- The Connection to use for the next handling of the connection.
This allows protocol upgrades and support for CONNECT.
- Throws:
IOException
isIdle
public boolean isIdle()
- Specified by:
isIdle
in interface Connection
isSuspended
public boolean isSuspended()
- Specified by:
isSuspended
in interface Connection
- See Also:
Connection.isSuspended()
getEndPoint
public EndPoint getEndPoint()
reset
protected void reset(boolean returnBuffers)
throws IOException
- Throws:
IOException
toString
public String toString()
- Overrides:
toString
in class Object
toDetailString
public String toDetailString()
close
public void close()
throws IOException
- Throws:
IOException
setIdleTimeout
public void setIdleTimeout()
cancelIdleTimeout
public boolean cancelIdleTimeout()
Copyright © 1995-2010 Mort Bay Consulting. All Rights Reserved.