org.mortbay.jetty.client
Class HttpConnection

java.lang.Object
  extended by org.mortbay.jetty.client.HttpConnection
All Implemented Interfaces:
org.mortbay.io.Connection

public class HttpConnection
extends java.lang.Object
implements org.mortbay.io.Connection

Author:
Greg Wilkins, Guillaume Nodet

Field Summary
 java.lang.String _message
           
 boolean _reserved
           
 
Method Summary
 boolean cancelIdleTimeout()
           
 void close()
           
 void dump()
           
 HttpDestination getDestination()
           
 org.mortbay.io.EndPoint getEndPoint()
           
 void handle()
           
 boolean isIdle()
           
 boolean isReserved()
           
protected  void reset(boolean returnBuffers)
           
 boolean send(HttpExchange ex)
           
 void setDestination(HttpDestination destination)
           
 void setIdleTimeout(long expire)
           
 void setReserved(boolean reserved)
           
 java.lang.String toDetailString()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_message

public java.lang.String _message

_reserved

public boolean _reserved
Method Detail

dump

public void dump()
          throws java.io.IOException
Throws:
java.io.IOException

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 java.io.IOException
Throws:
java.io.IOException

handle

public void handle()
            throws java.io.IOException
Specified by:
handle in interface org.mortbay.io.Connection
Throws:
java.io.IOException

isIdle

public boolean isIdle()
Specified by:
isIdle in interface org.mortbay.io.Connection

getEndPoint

public org.mortbay.io.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()

close

public void close()
           throws java.io.IOException
Throws:
java.io.IOException

setIdleTimeout

public void setIdleTimeout(long expire)

cancelIdleTimeout

public boolean cancelIdleTimeout()


Copyright © 2009 Mortbay Consulting Pty. Ltd. All Rights Reserved.