public class Executor extends Object
Modifier and Type | Method and Description |
---|---|
Executor |
auth(AuthScope authScope,
Credentials creds) |
Executor |
auth(Credentials cred) |
Executor |
auth(org.apache.http.HttpHost host,
Credentials creds) |
Executor |
auth(org.apache.http.HttpHost host,
String username,
String password) |
Executor |
auth(org.apache.http.HttpHost host,
String username,
String password,
String workstation,
String domain) |
Executor |
auth(String username,
String password) |
Executor |
auth(String username,
String password,
String workstation,
String domain) |
Executor |
authPreemptive(org.apache.http.HttpHost host) |
Executor |
authPreemptiveProxy(org.apache.http.HttpHost host) |
Executor |
clearAuth() |
Executor |
clearCookies() |
Executor |
cookieStore(CookieStore cookieStore) |
Response |
execute(Request request) |
static Executor |
newInstance() |
static Executor |
newInstance(HttpClient httpclient) |
static void |
registerScheme(Scheme scheme) |
static void |
unregisterScheme(String name) |
public static Executor newInstance()
public static Executor newInstance(HttpClient httpclient)
public Executor auth(AuthScope authScope, Credentials creds)
public Executor auth(org.apache.http.HttpHost host, Credentials creds)
public Executor authPreemptive(org.apache.http.HttpHost host)
public Executor authPreemptiveProxy(org.apache.http.HttpHost host)
public Executor auth(Credentials cred)
public Executor auth(org.apache.http.HttpHost host, String username, String password, String workstation, String domain)
public Executor clearAuth()
public Executor cookieStore(CookieStore cookieStore)
public Executor clearCookies()
public Response execute(Request request) throws ClientProtocolException, IOException
ClientProtocolException
IOException
public static void registerScheme(Scheme scheme)
public static void unregisterScheme(String name)
Copyright © 1999-2013 The Apache Software Foundation. All Rights Reserved.