public class HttpClientHolder
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
org.jboss.resteasy.client.ClientExecutor |
createClientExecutor() |
org.apache.http.HttpResponse |
execute(org.apache.http.client.methods.HttpUriRequest httpRequest) |
org.apache.http.HttpHost |
getHost() |
org.apache.http.client.HttpClient |
getHttpClient() |
Proxies |
getProxies() |
java.lang.String |
getUserName() |
void |
loginAs(java.lang.String username,
java.lang.String password) |
void |
logout() |
public void logout()
public void loginAs(java.lang.String username,
java.lang.String password)
public java.lang.String getUserName()
public org.apache.http.HttpResponse execute(org.apache.http.client.methods.HttpUriRequest httpRequest)
throws org.apache.http.client.ClientProtocolException,
java.io.IOException
org.apache.http.client.ClientProtocolExceptionjava.io.IOExceptionpublic org.jboss.resteasy.client.ClientExecutor createClientExecutor()
public org.apache.http.HttpHost getHost()
public org.apache.http.client.HttpClient getHttpClient()
public Proxies getProxies()