org.mortbay.jetty.client
public class HttpDestination extends Object
Modifier and Type | Method and Description |
---|---|
void |
addAuthorization(String pathSpec,
Authorization authorization) |
void |
addCookie(Cookie cookie) |
void |
close() |
protected void |
doSend(HttpExchange ex) |
void |
dump() |
Address |
getAddress() |
int |
getConnections() |
org.mortbay.io.Buffer |
getHostHeader() |
HttpClient |
getHttpClient() |
HttpConnection |
getIdleConnection() |
int |
getIdleConnections() |
Address |
getProxy() |
Authorization |
getProxyAuthentication() |
boolean |
isProxied() |
boolean |
isSecure() |
void |
onConnectionFailed(Throwable throwable) |
void |
onException(Throwable throwable) |
void |
onNewConnection(HttpConnection connection) |
void |
resend(HttpExchange ex) |
HttpConnection |
reserveConnection(long timeout) |
void |
returnConnection(HttpConnection connection,
boolean close) |
void |
returnIdleConnection(HttpConnection connection) |
void |
send(HttpExchange ex) |
void |
setProxy(Address proxy) |
void |
setProxyAuthentication(Authorization authentication) |
protected void |
startNewConnection() |
String |
toDetailString() |
String |
toString() |
public void dump() throws IOException
IOException
public 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
IOException
public HttpConnection getIdleConnection() throws IOException
IOException
protected void startNewConnection()
public void onConnectionFailed(Throwable throwable)
public void onException(Throwable throwable)
public void onNewConnection(HttpConnection connection) throws IOException
IOException
public void returnConnection(HttpConnection connection, boolean close) throws IOException
IOException
public void returnIdleConnection(HttpConnection connection) throws IOException
IOException
public void send(HttpExchange ex) throws IOException
IOException
public void resend(HttpExchange ex) throws IOException
IOException
protected void doSend(HttpExchange ex) throws IOException
IOException
public 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
IOException
Copyright © 2009 Mortbay Consulting Pty. Ltd. All Rights Reserved.