org.mortbay.jetty.client
Class HttpDestination
java.lang.Object
org.mortbay.jetty.client.HttpDestination
public class HttpDestination
- extends Object
- Author:
- Greg Wilkins, Guillaume Nodet
getAddress
public InetSocketAddress getAddress()
getHostHeader
public Buffer getHostHeader()
getHttpClient
public HttpClient getHttpClient()
getIdleConnection
public org.mortbay.jetty.client.HttpConnection getIdleConnection()
throws IOException
- Throws:
IOException
startNewConnection
protected void startNewConnection()
onConnectionFailed
public void onConnectionFailed(Throwable throwable)
onException
public void onException(Throwable throwable)
onNewConnection
public void onNewConnection(org.mortbay.jetty.client.HttpConnection connection)
throws IOException
- Throws:
IOException
returnConnection
public void returnConnection(org.mortbay.jetty.client.HttpConnection connection,
boolean close)
throws IOException
- Throws:
IOException
send
public void send(HttpExchange ex)
throws IOException
- Throws:
IOException
toString
public String toString()
- Overrides:
toString
in class Object
toDetailString
public String toDetailString()
Copyright © 2007 Mort Bay Consulting. All Rights Reserved.