public class HttpDestination extends Object
public void dump()
throws IOException
IOExceptionpublic Address getAddress()
public org.mortbay.io.Buffer getHostHeader()
public HttpClient getHttpClient()
public boolean isSecure()
public int getConnections()
public int getIdleConnections()
public void addAuthorization(String pathSpec, Authorization authorization)
public void addCookie(Cookie cookie)
public HttpConnection reserveConnection(long timeout) throws IOException
IOExceptionpublic HttpConnection getIdleConnection() throws IOException
IOExceptionprotected void startNewConnection()
public void onConnectionFailed(Throwable throwable)
public void onException(Throwable throwable)
public void onNewConnection(HttpConnection connection) throws IOException
IOExceptionpublic void returnConnection(HttpConnection connection, boolean close) throws IOException
IOExceptionpublic void returnIdleConnection(HttpConnection connection) throws IOException
IOExceptionpublic void send(HttpExchange ex) throws IOException
IOExceptionpublic void resend(HttpExchange ex) throws IOException
IOExceptionprotected void doSend(HttpExchange ex) throws IOException
IOExceptionpublic String toDetailString()
public void setProxy(Address proxy)
public Address getProxy()
public Authorization getProxyAuthentication()
public void setProxyAuthentication(Authorization authentication)
public boolean isProxied()
public void close()
throws IOException
IOExceptionCopyright © 2009 Mortbay Consulting Pty. Ltd. All Rights Reserved.