Class HttpUtils
- java.lang.Object
-
- com.openindex.openestate.tool.utils.HttpUtils
-
public final class HttpUtils extends Object
HttpUtils.- Author:
- Andreas Rudolph
-
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static org.apache.http.impl.client.HttpClientBuilderbuilder()static org.apache.http.impl.client.HttpClientBuilderbuilder(boolean caching)static org.apache.http.impl.client.HttpClientBuilderbuilder(int timeout)static org.apache.http.impl.client.HttpClientBuilderbuilder(int timeout, boolean caching)static org.apache.http.client.CredentialsProvidercreateAuthentication(String user, String password)static org.apache.http.client.CredentialsProvidercreateAuthentication(String user, String password, org.apache.http.auth.AuthScope scope)static org.apache.http.client.CredentialsProvidercreateAuthentification(String user, String password)Deprecated.static org.apache.http.client.CredentialsProvidercreateAuthentification(String user, String password, org.apache.http.auth.AuthScope scope)Deprecated.static ProxySelectorcreateProxySelector(String host, int port)static org.apache.http.client.cache.HttpCacheEntrygetCacheEntry(String uri)static booleanhasCacheEntry(String uri)
-
-
-
Method Detail
-
builder
public static org.apache.http.impl.client.HttpClientBuilder builder()
-
builder
public static org.apache.http.impl.client.HttpClientBuilder builder(int timeout)
-
builder
public static org.apache.http.impl.client.HttpClientBuilder builder(boolean caching)
-
builder
public static org.apache.http.impl.client.HttpClientBuilder builder(int timeout, boolean caching)
-
createAuthentication
public static org.apache.http.client.CredentialsProvider createAuthentication(String user, String password)
-
createAuthentication
public static org.apache.http.client.CredentialsProvider createAuthentication(String user, String password, org.apache.http.auth.AuthScope scope)
-
createAuthentification
@Deprecated public static org.apache.http.client.CredentialsProvider createAuthentification(String user, String password)
Deprecated.
-
createAuthentification
@Deprecated public static org.apache.http.client.CredentialsProvider createAuthentification(String user, String password, org.apache.http.auth.AuthScope scope)
Deprecated.
-
createProxySelector
public static ProxySelector createProxySelector(String host, int port)
-
getCacheEntry
public static org.apache.http.client.cache.HttpCacheEntry getCacheEntry(String uri)
-
hasCacheEntry
public static boolean hasCacheEntry(String uri)
-
-