|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.http.client.fluent.Executor
public class Executor
An Executor for fluent requests.
A PoolingHttpClientConnectionManager
with maximum 100 connections per route and
a total maximum of 200 connections is used internally.
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Executor newInstance()
public static Executor newInstance(HttpClient httpclient)
public Executor use(CredentialsProvider credentialsProvider)
public Executor auth(AuthScope authScope, Credentials creds)
public Executor auth(HttpHost host, Credentials creds)
public Executor auth(String host, Credentials creds)
public Executor authPreemptive(HttpHost host)
public Executor authPreemptive(String host)
public Executor authPreemptiveProxy(HttpHost proxy)
public Executor authPreemptiveProxy(String proxy)
public Executor auth(Credentials cred)
public Executor auth(String username, String password)
public Executor auth(String username, String password, String workstation, String domain)
public Executor auth(HttpHost host, String username, String password)
public Executor auth(HttpHost host, String username, String password, String workstation, String domain)
public Executor clearAuth()
@Deprecated public Executor cookieStore(CookieStore cookieStore)
use(CookieStore)
.
public Executor use(CookieStore cookieStore)
public Executor clearCookies()
public Response execute(Request request) throws ClientProtocolException, IOException
Response.discardContent()
, otherwise the
connection used for the request might not be released to the pool.
ClientProtocolException
IOException
Response.handleResponse(org.apache.http.client.ResponseHandler)
,
Response.discardContent()
@Deprecated public static void registerScheme(Scheme scheme)
@Deprecated public static void unregisterScheme(String name)
public static void closeIdleConnections()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |