org.mortbay.jetty.client
Class HttpConnection
java.lang.Object
org.mortbay.jetty.client.HttpConnection
- All Implemented Interfaces:
- Connection
public class HttpConnection
- extends java.lang.Object
- implements Connection
- Author:
- Greg Wilkins, Guillaume Nodet
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
_message
public java.lang.String _message
_throwable
public java.lang.Throwable _throwable
dump
public void dump()
throws java.io.IOException
- Throws:
java.io.IOException
getDestination
public HttpDestination getDestination()
setDestination
public void setDestination(HttpDestination destination)
send
public boolean send(HttpExchange ex)
throws java.io.IOException
- Throws:
java.io.IOException
handle
public void handle()
throws java.io.IOException
- Specified by:
handle
in interface Connection
- Throws:
java.io.IOException
isIdle
public boolean isIdle()
- Specified by:
isIdle
in interface Connection
getEndPoint
public EndPoint getEndPoint()
reset
protected void reset(boolean returnBuffers)
throws java.io.IOException
- Throws:
java.io.IOException
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
toDetailString
public java.lang.String toDetailString()
getLast
public long getLast()
- Returns:
- the last
setLast
public void setLast(long last)
- Parameters:
last
- the last to set
close
public void close()
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 1995-2009 Mort Bay Consulting. All Rights Reserved.