public class HttpClientSupport extends Object
Modifier and Type | Class and Description |
---|---|
static class |
HttpClientSupport.SoapUIHttpClient
Internal helper to ensure synchronized access..
|
static class |
HttpClientSupport.SoapUIHttpRequestExecutor |
Constructor and Description |
---|
HttpClientSupport() |
Modifier and Type | Method and Description |
---|---|
static void |
addSSLListener(Settings settings) |
static void |
applyHttpSettings(org.apache.http.HttpRequest httpMethod,
Settings settings) |
static org.apache.http.protocol.BasicHttpContext |
createEmptyContext() |
static org.apache.http.HttpResponse |
execute(ExtendedHttpMethod method) |
static org.apache.http.HttpResponse |
execute(ExtendedHttpMethod method,
org.apache.http.protocol.HttpContext httpContext) |
static String |
getCompressionType(String contentType,
String contentEncoding) |
static HttpClientSupport.SoapUIHttpClient |
getHttpClient() |
static String |
getResponseCompressionType(org.apache.http.HttpResponse httpResponse) |
static void |
setProxySelector(ProxySelector proxySelector) |
public static HttpClientSupport.SoapUIHttpClient getHttpClient()
public static void setProxySelector(ProxySelector proxySelector)
public static org.apache.http.HttpResponse execute(ExtendedHttpMethod method, org.apache.http.protocol.HttpContext httpContext) throws org.apache.http.client.ClientProtocolException, IOException
org.apache.http.client.ClientProtocolException
IOException
public static org.apache.http.HttpResponse execute(ExtendedHttpMethod method) throws org.apache.http.client.ClientProtocolException, IOException
org.apache.http.client.ClientProtocolException
IOException
public static void applyHttpSettings(org.apache.http.HttpRequest httpMethod, Settings settings)
public static String getResponseCompressionType(org.apache.http.HttpResponse httpResponse)
public static String getCompressionType(String contentType, String contentEncoding)
public static void addSSLListener(Settings settings)
public static org.apache.http.protocol.BasicHttpContext createEmptyContext()
Copyright © 2019. All Rights Reserved.