@ThingworxExtensionApiClass(since={6,6}, canInstantiate=true) public final class HttpUtilities extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ACCEPT_HEADER |
static java.lang.String |
COOKIES_PROPERTY |
static java.lang.String |
HEADERS |
static java.lang.String |
PROTOCOL_VERSION |
static java.lang.String |
REASON_PHRASE |
static java.lang.String |
RESPONSE_STATUS |
static java.lang.String |
STATUS_CODE |
Constructor and Description |
---|
HttpUtilities() |
Modifier and Type | Method and Description |
---|---|
static org.apache.http.impl.client.CloseableHttpClient |
createHttpClient(java.lang.String username,
byte[] password,
java.lang.Boolean ignoreSSLErrors,
java.lang.Double timeout,
java.lang.Boolean useNTLM,
java.lang.String workstation,
java.lang.String domain,
java.lang.Boolean useProxy,
java.lang.String proxyHost,
java.lang.Integer proxyPort,
java.lang.String proxyScheme) |
static org.apache.http.impl.client.CloseableHttpClient |
createHttpClient(java.lang.String username,
java.lang.String password,
java.lang.Boolean ignoreSSLErrors,
java.lang.Double timeout,
java.lang.Boolean useNTLM,
java.lang.String workstation,
java.lang.String domain,
java.lang.Boolean useProxy,
java.lang.String proxyHost,
java.lang.Integer proxyPort,
java.lang.String proxyScheme)
Deprecated.
|
public static final java.lang.String RESPONSE_STATUS
public static final java.lang.String REASON_PHRASE
public static final java.lang.String STATUS_CODE
public static final java.lang.String PROTOCOL_VERSION
public static final java.lang.String COOKIES_PROPERTY
public static final java.lang.String HEADERS
public static final java.lang.String ACCEPT_HEADER
@Deprecated @ThingworxExtensionApiMethod(since={6,6}, deprecatedSince={8,4}) public static org.apache.http.impl.client.CloseableHttpClient createHttpClient(java.lang.String username, java.lang.String password, java.lang.Boolean ignoreSSLErrors, java.lang.Double timeout, java.lang.Boolean useNTLM, java.lang.String workstation, java.lang.String domain, java.lang.Boolean useProxy, java.lang.String proxyHost, java.lang.Integer proxyPort, java.lang.String proxyScheme)
@ThingworxExtensionApiMethod(since={8,4}) public static org.apache.http.impl.client.CloseableHttpClient createHttpClient(java.lang.String username, byte[] password, java.lang.Boolean ignoreSSLErrors, java.lang.Double timeout, java.lang.Boolean useNTLM, java.lang.String workstation, java.lang.String domain, java.lang.Boolean useProxy, java.lang.String proxyHost, java.lang.Integer proxyPort, java.lang.String proxyScheme)