public static Executor newInstance()
public static Executor newInstance(CloseableHttpClient httpclient)
@Experimental public static Executor newInstance(CloseableHttpAsyncClient httpclient)
public Executor use(CredentialsStore credentialsStore)
public Executor auth(AuthScope authScope, Credentials credentials)
public Executor auth(HttpHost host, Credentials credentials)
public Executor auth(String host, Credentials credentials)
public Executor authPreemptiveProxy(String proxy)
@Deprecated public Executor auth(HttpHost host, String username, char[] password, String workstation, String domain)
auth(HttpHost, String, char[]).public Executor clearAuth()
public Executor use(CookieStore cookieStore)
public Executor clearCookies()
public Response execute(Request request) throws IOException
Response.discardContent(), otherwise the
connection used for the request might not be released to the pool.Copyright © 2011–2021 The Apache Software Foundation. All rights reserved.