Class Executor
java.lang.Object
org.apache.http.client.fluent.Executor
An Executor for fluent requests
A
PoolingHttpClientConnectionManager with maximum 100 connections per route and
a total maximum of 200 connections is used internally.-
Method Summary
Modifier and TypeMethodDescriptionauth(AuthScope authScope, Credentials creds) auth(Credentials cred) auth(HttpHost host, Credentials creds) authPreemptive(HttpHost host) authPreemptiveProxy(HttpHost host) cookieStore(CookieStore cookieStore) Executes the request.static Executorstatic ExecutornewInstance(HttpClient httpclient) static voidregisterScheme(Scheme scheme) Deprecated.(4.3) do not use.static voidunregisterScheme(String name) Deprecated.(4.3) do not use.
-
Method Details
-
newInstance
-
newInstance
-
auth
-
auth
-
authPreemptive
-
authPreemptiveProxy
-
auth
-
auth
-
auth
-
auth
-
auth
-
clearAuth
-
cookieStore
-
clearCookies
-
execute
Executes the request. Please Note that response content must be processed or discarded usingResponse.discardContent(), otherwise the connection used for the request might not be released to the pool.- Throws:
ClientProtocolExceptionIOException- See Also:
-
registerScheme
Deprecated.(4.3) do not use. -
unregisterScheme
Deprecated.(4.3) do not use.
-