public HttpClient getHttpClient()
public Address getAddress()
public boolean isSecure()
public Buffer getHostHeader()
public int getMaxConnections()
public void setMaxConnections(int maxConnections)
public int getMaxQueueSize()
public void setMaxQueueSize(int maxQueueSize)
public int getConnections()
public int getIdleConnections()
public void addAuthorization(String pathSpec, Authentication authorization)
public void addCookie(HttpCookie cookie)
public AbstractHttpConnection reserveConnection(long timeout) throws IOException
IOException
public AbstractHttpConnection getIdleConnection() throws IOException
IOException
protected void startNewConnection()
public void onConnectionFailed(Throwable throwable)
public void onException(Throwable throwable)
public void onNewConnection(AbstractHttpConnection connection) throws IOException
IOException
public void returnConnection(AbstractHttpConnection connection, boolean close) throws IOException
IOException
public void returnIdleConnection(AbstractHttpConnection connection)
public void send(HttpExchange ex) throws IOException
IOException
public void resend(HttpExchange ex) throws IOException
IOException
protected void doSend(HttpExchange ex) throws IOException
IOException
protected void exchangeExpired(HttpExchange exchange)
protected void send(AbstractHttpConnection connection, HttpExchange exchange) throws IOException
IOException
public String toDetailString()
public void setProxy(Address proxy)
public Address getProxy()
public Authentication getProxyAuthentication()
public void setProxyAuthentication(Authentication authentication)
public boolean isProxied()
public void close() throws IOException
IOException
public String dump()
dump
in interface Dumpable
Dumpable.dump()
public void dump(Appendable out, String indent) throws IOException
dump
in interface Dumpable
IOException
Dumpable.dump(java.lang.Appendable, java.lang.String)
Copyright © 1995-2012 Mort Bay Consulting. All Rights Reserved.