public class HttpClientV2
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
HttpClientV2.ClientMap
Client map class, which should be cleared on runtime reload.
|
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
SPECIAL_BODY_PARAM |
Constructor and Description |
---|
HttpClientV2() |
Modifier and Type | Method and Description |
---|---|
static HttpResponse |
httpDelete(RequestParameters params)
HTTP client DELETE method.
|
static HttpResponse |
httpDelete(java.lang.String urlstr)
HTTP client DELETE method.
|
static HttpResponse |
httpDelete(java.lang.String urlstr,
Headers headers,
java.lang.String httpsTrustStore,
java.lang.String basicAuthUsername,
java.lang.String basicAuthPassword,
java.lang.String clientKeyStore,
java.lang.String clientKeyAlias,
java.lang.String protocol)
HTTP client DELETE method.
|
static HttpResponse |
httpDelete(java.lang.String urlstr,
Headers headers,
java.lang.String httpsTrustStore,
java.lang.String basicAuthUsername,
java.lang.String basicAuthPassword,
java.lang.String clientKeyStore,
java.lang.String clientKeyAlias,
java.lang.String protocol,
boolean throwException,
int timeout,
java.lang.String proxyServer)
HTTP client DELETE method.
|
static HttpResponse |
httpDelete(java.lang.String urlstr,
Headers headers,
java.lang.String httpsTrustStore,
java.lang.String basicAuthUsername,
java.lang.String basicAuthPassword,
java.lang.String clientKeyStore,
java.lang.String clientKeyAlias,
java.lang.String protocol,
int timeout)
HTTP client DELETE method.
|
static HttpResponse |
httpDelete(java.lang.String urlstr,
Headers headers,
java.lang.String httpsTrustStore,
java.lang.String basicAuthUsername,
java.lang.String basicAuthPassword,
java.lang.String clientKeyStore,
java.lang.String clientKeyAlias,
java.lang.String protocol,
int timeout,
java.lang.String proxyServer)
HTTP client DELETE method.
|
static HttpResponse |
httpGet(RequestParameters params)
HTTP client GET method.
|
static HttpResponse |
httpGet(java.lang.String urlstr)
HTTP client GET method.
|
static HttpResponse |
httpGet(java.lang.String urlstr,
Headers headers,
java.lang.String httpsTrustStore,
java.lang.String basicAuthUsername,
java.lang.String basicAuthPassword,
java.lang.String clientKeyStore,
java.lang.String clientKeyAlias)
HTTP client GET method.
|
static HttpResponse |
httpGet(java.lang.String urlstr,
Headers headers,
java.lang.String httpsTrustStore,
java.lang.String basicAuthUsername,
java.lang.String basicAuthPassword,
java.lang.String clientKeyStore,
java.lang.String clientKeyAlias,
java.lang.String protocol)
HTTP client GET method.
|
static HttpResponse |
httpGet(java.lang.String urlstr,
Headers headers,
java.lang.String httpsTrustStore,
java.lang.String basicAuthUsername,
java.lang.String basicAuthPassword,
java.lang.String clientKeyStore,
java.lang.String clientKeyAlias,
java.lang.String protocol,
boolean throwExec,
int timeout)
HTTP client GET method.
|
static HttpResponse |
httpGet(java.lang.String urlstr,
Headers headers,
java.lang.String httpsTrustStore,
java.lang.String basicAuthUsername,
java.lang.String basicAuthPassword,
java.lang.String clientKeyStore,
java.lang.String clientKeyAlias,
java.lang.String protocol,
boolean throwExec,
int timeout,
java.lang.String proxyServer)
HTTP client GET method.
|
static HttpResponse |
httpGet(java.lang.String urlstr,
Headers headers,
java.lang.String httpsTrustStore,
java.lang.String basicAuthUsername,
java.lang.String basicAuthPassword,
java.lang.String clientKeyStore,
java.lang.String clientKeyAlias,
java.lang.String protocol,
int timeout)
HTTP client GET method.
|
static HttpResponse |
httpHead(RequestParameters params)
HTTP client HEAD method.
|
static HttpResponse |
httpHead(java.lang.String urlstr,
Headers headers,
java.lang.String httpsTrustStore,
java.lang.String basicAuthUsername,
java.lang.String basicAuthPassword,
java.lang.String clientKeyStore,
java.lang.String clientKeyAlias,
java.lang.String protocol,
boolean throwExec,
int timeout,
java.lang.String proxyServer)
HTTP client HEAD method.
|
static HttpResponse |
httpOptions(RequestParameters params)
HTTP client OPTIONS method.
|
static HttpResponse |
httpOptions(java.lang.String urlstr,
Headers headers,
java.lang.String httpsTrustStore,
java.lang.String basicAuthUsername,
java.lang.String basicAuthPassword,
java.lang.String clientKeyStore,
java.lang.String clientKeyAlias,
java.lang.String protocol,
boolean throwExec,
int timeout,
java.lang.String proxyServer)
HTTP client OPTIONS method.
|
static HttpResponse |
httpPatch(RequestParameters params)
HTTP client PATCH method.
|
static HttpResponse |
httpPatch(java.lang.String urlstr,
Headers headers,
Parameters params,
java.lang.String httpsTrustStore,
java.lang.String basicAuthUsername,
java.lang.String basicAuthPassword,
java.lang.String clientKeyStore,
java.lang.String clientKeyAlias,
java.lang.String protocol)
HTTP client PATCH method.
|
static HttpResponse |
httpPatch(java.lang.String urlstr,
Headers headers,
Parameters params,
java.lang.String httpsTrustStore,
java.lang.String basicAuthUsername,
java.lang.String basicAuthPassword,
java.lang.String clientKeyStore,
java.lang.String clientKeyAlias,
java.lang.String protocol,
boolean throwException,
int timeout,
boolean sendDataAsJson,
java.lang.String proxyServer)
HTTP client PATCH method.
|
static HttpResponse |
httpPatch(java.lang.String urlstr,
Headers headers,
Parameters params,
java.lang.String httpsTrustStore,
java.lang.String basicAuthUsername,
java.lang.String basicAuthPassword,
java.lang.String clientKeyStore,
java.lang.String clientKeyAlias,
java.lang.String protocol,
int timeout,
boolean sendDataAsJson)
HTTP client PATCH method.
|
static HttpResponse |
httpPatch(java.lang.String urlstr,
Headers headers,
Parameters params,
java.lang.String httpsTrustStore,
java.lang.String basicAuthUsername,
java.lang.String basicAuthPassword,
java.lang.String clientKeyStore,
java.lang.String clientKeyAlias,
java.lang.String protocol,
int timeout,
boolean sendDataAsJson,
java.lang.String proxyServer)
HTTP client PATCH method.
|
static HttpResponse |
httpPatch(java.lang.String urlstr,
Headers headers,
java.lang.String body,
java.lang.String httpsTrustStore,
java.lang.String basicAuthUsername,
java.lang.String basicAuthPassword,
java.lang.String clientKeyStore,
java.lang.String clientKeyAlias,
java.lang.String protocol)
HTTP client PATCH method.
|
static HttpResponse |
httpPatch(java.lang.String urlstr,
Parameters params)
HTTP client PATCH method.
|
static HttpResponse |
httpPatch(java.lang.String urlstr,
Parameters params,
boolean sendDataAsJson)
HTTP client PATCH method.
|
static HttpResponse |
httpPost(RequestParameters params)
HTTP client POST method.
|
static HttpResponse |
httpPost(java.lang.String urlstr,
Headers headers,
Parameters params,
java.lang.String httpsTrustStore,
java.lang.String basicAuthUsername,
java.lang.String basicAuthPassword,
java.lang.String clientKeyStore,
java.lang.String clientKeyAlias)
HTTP client POST method.
|
static HttpResponse |
httpPost(java.lang.String urlstr,
Headers headers,
Parameters params,
java.lang.String httpsTrustStore,
java.lang.String basicAuthUsername,
java.lang.String basicAuthPassword,
java.lang.String clientKeyStore,
java.lang.String clientKeyAlias,
boolean sendDataAsJson)
HTTP client POST method.
|
static HttpResponse |
httpPost(java.lang.String urlstr,
Headers headers,
Parameters params,
java.lang.String httpsTrustStore,
java.lang.String basicAuthUsername,
java.lang.String basicAuthPassword,
java.lang.String clientKeyStore,
java.lang.String clientKeyAlias,
java.lang.String protocol)
HTTP client POST method.
|
static HttpResponse |
httpPost(java.lang.String urlstr,
Headers headers,
Parameters params,
java.lang.String httpsTrustStore,
java.lang.String basicAuthUsername,
java.lang.String basicAuthPassword,
java.lang.String clientKeyStore,
java.lang.String clientKeyAlias,
java.lang.String protocol,
boolean sendDataAsJson)
HTTP client POST method.
|
static HttpResponse |
httpPost(java.lang.String urlstr,
Headers headers,
Parameters params,
java.lang.String httpsTrustStore,
java.lang.String basicAuthUsername,
java.lang.String basicAuthPassword,
java.lang.String clientKeyStore,
java.lang.String clientKeyAlias,
java.lang.String protocol,
boolean throwException,
int timeout,
boolean sendDataAsJson)
HTTP client POST method.
|
static HttpResponse |
httpPost(java.lang.String urlstr,
Headers headers,
Parameters params,
java.lang.String httpsTrustStore,
java.lang.String basicAuthUsername,
java.lang.String basicAuthPassword,
java.lang.String clientKeyStore,
java.lang.String clientKeyAlias,
java.lang.String protocol,
boolean throwException,
int timeout,
boolean sendDataAsJson,
java.lang.String proxyServer)
HTTP client POST method.
|
static HttpResponse |
httpPost(java.lang.String urlstr,
Headers headers,
java.lang.String body,
java.lang.String httpsTrustStore,
java.lang.String basicAuthUsername,
java.lang.String basicAuthPassword,
java.lang.String clientKeyStore,
java.lang.String clientKeyAlias)
HTTP client POST method.
|
static HttpResponse |
httpPost(java.lang.String urlstr,
Headers headers,
java.lang.String body,
java.lang.String httpsTrustStore,
java.lang.String basicAuthUsername,
java.lang.String basicAuthPassword,
java.lang.String clientKeyStore,
java.lang.String clientKeyAlias,
int timeout)
HTTP client POST method.
|
static HttpResponse |
httpPost(java.lang.String urlstr,
Parameters params)
HTTP client POST method.
|
static HttpResponse |
httpPost(java.lang.String urlstr,
Parameters params,
boolean sendDataAsJson)
HTTP client POST method.
|
static HttpResponse |
httpPut(RequestParameters params)
HTTP client PUT method.
|
static HttpResponse |
httpPut(java.lang.String urlstr,
Headers headers,
Parameters params,
java.lang.String httpsTrustStore,
java.lang.String basicAuthUsername,
java.lang.String basicAuthPassword,
java.lang.String clientKeyStore,
java.lang.String clientKeyAlias)
HTTP client PUT method.
|
static HttpResponse |
httpPut(java.lang.String urlstr,
Headers headers,
Parameters params,
java.lang.String httpsTrustStore,
java.lang.String basicAuthUsername,
java.lang.String basicAuthPassword,
java.lang.String clientKeyStore,
java.lang.String clientKeyAlias,
boolean sendDataAsJson)
HTTP client PUT method.
|
static HttpResponse |
httpPut(java.lang.String urlstr,
Headers headers,
Parameters params,
java.lang.String httpsTrustStore,
java.lang.String basicAuthUsername,
java.lang.String basicAuthPassword,
java.lang.String clientKeyStore,
java.lang.String clientKeyAlias,
java.lang.String protocol)
HTTP client PUT method.
|
static HttpResponse |
httpPut(java.lang.String urlstr,
Headers headers,
Parameters params,
java.lang.String httpsTrustStore,
java.lang.String basicAuthUsername,
java.lang.String basicAuthPassword,
java.lang.String clientKeyStore,
java.lang.String clientKeyAlias,
java.lang.String protocol,
boolean sendDataAsJson)
HTTP client PUT method.
|
static HttpResponse |
httpPut(java.lang.String urlstr,
Headers headers,
Parameters params,
java.lang.String httpsTrustStore,
java.lang.String basicAuthUsername,
java.lang.String basicAuthPassword,
java.lang.String clientKeyStore,
java.lang.String clientKeyAlias,
java.lang.String protocol,
boolean throwException,
int timeout,
boolean sendDataAsJson,
java.lang.String proxyServer)
HTTP client PUT method.
|
static HttpResponse |
httpPut(java.lang.String urlstr,
Headers headers,
Parameters params,
java.lang.String httpsTrustStore,
java.lang.String basicAuthUsername,
java.lang.String basicAuthPassword,
java.lang.String clientKeyStore,
java.lang.String clientKeyAlias,
java.lang.String protocol,
int timeout,
boolean sendDataAsJson)
HTTP client PUT method.
|
static HttpResponse |
httpPut(java.lang.String urlstr,
Headers headers,
Parameters params,
java.lang.String httpsTrustStore,
java.lang.String basicAuthUsername,
java.lang.String basicAuthPassword,
java.lang.String clientKeyStore,
java.lang.String clientKeyAlias,
java.lang.String protocol,
int timeout,
boolean sendDataAsJson,
java.lang.String proxyServer)
HTTP client PUT method.
|
static HttpResponse |
httpPut(java.lang.String urlstr,
Headers headers,
java.lang.String body,
java.lang.String httpsTrustStore,
java.lang.String basicAuthUsername,
java.lang.String basicAuthPassword,
java.lang.String clientKeyStore,
java.lang.String clientKeyAlias)
HTTP client PUT method.
|
static HttpResponse |
httpPut(java.lang.String urlstr,
Headers headers,
java.lang.String body,
java.lang.String httpsTrustStore,
java.lang.String basicAuthUsername,
java.lang.String basicAuthPassword,
java.lang.String clientKeyStore,
java.lang.String clientKeyAlias,
int timeout)
HTTP client PUT method.
|
static HttpResponse |
httpPut(java.lang.String urlstr,
Parameters params)
HTTP client PUT method.
|
static HttpResponse |
httpPut(java.lang.String urlstr,
Parameters params,
boolean sendDataAsJson)
HTTP client PUT method.
|
static HttpResponse |
httpTrace(RequestParameters params)
HTTP client TRACE method.
|
static HttpResponse |
httpTrace(java.lang.String urlstr,
Headers headers,
java.lang.String httpsTrustStore,
java.lang.String basicAuthUsername,
java.lang.String basicAuthPassword,
java.lang.String clientKeyStore,
java.lang.String clientKeyAlias,
java.lang.String protocol,
boolean throwExec,
int timeout,
java.lang.String proxyServer)
HTTP client TRACE method.
|
public static final java.lang.String SPECIAL_BODY_PARAM
public static HttpResponse httpGet(java.lang.String urlstr)
urlstr
- URLpublic static HttpResponse httpGet(java.lang.String urlstr, Headers headers, java.lang.String httpsTrustStore, java.lang.String basicAuthUsername, java.lang.String basicAuthPassword, java.lang.String clientKeyStore, java.lang.String clientKeyAlias)
urlstr
- URLheaders
- Headers to be added to the request header.httpsTrustStore
- The name of the trust store to use. If a HTTPS connection is
required and this is set to NULL, the default trust store
specified in the advanced configuration parameter util.httpClientv2.defaultTrustStore will be used.basicAuthUsername
- Basic-auth username. If null, basic-auth will be disabled.basicAuthPassword
- Basic-auth password. If null, basic-auth will be disabled.clientKeyStore
- Client key store. If null, client cert auth will be disabled.clientKeyAlias
- Client key alias. If null, client cert auth will be disabled.public static HttpResponse httpGet(java.lang.String urlstr, Headers headers, java.lang.String httpsTrustStore, java.lang.String basicAuthUsername, java.lang.String basicAuthPassword, java.lang.String clientKeyStore, java.lang.String clientKeyAlias, java.lang.String protocol)
urlstr
- URLheaders
- Headers to be added to the request header.httpsTrustStore
- The name of the trust store to use. If a HTTPS connection is
required and this is set to NULL, the default trust store
specified in the advanced configuration parameter util.httpClientv2.defaultTrustStore will be used.basicAuthUsername
- Basic-auth username. If null, basic-auth will be disabled.basicAuthPassword
- Basic-auth password. If null, basic-auth will be disabled.clientKeyStore
- Client key store. If null, client cert auth will be disabled.clientKeyAlias
- Client key alias. If null, client cert auth will be disabled.protocol
- SSL protocol to use for this connection. Valid values are:
TLS, TLSv1, TLSv1.1, TLSv1.2.
If not provided the value of the advanced configuration property
'util.httpClient.defaultSSLProtocol' will be used. FIPS and NIST
mode will override this value.public static HttpResponse httpGet(java.lang.String urlstr, Headers headers, java.lang.String httpsTrustStore, java.lang.String basicAuthUsername, java.lang.String basicAuthPassword, java.lang.String clientKeyStore, java.lang.String clientKeyAlias, java.lang.String protocol, int timeout)
urlstr
- URLheaders
- Headers to be added to the request header.httpsTrustStore
- The name of the trust store to use. If a HTTPS connection is
required and this is set to NULL, the default trust store
specified in the advanced configuration parameter util.httpClientv2.defaultTrustStore will be used.basicAuthUsername
- Basic-auth username. If null, basic-auth will be disabled.basicAuthPassword
- Basic-auth password. If null, basic-auth will be disabled.clientKeyStore
- Client key store. If null, client cert auth will be disabled.clientKeyAlias
- Client key alias. If null, client cert auth will be disabled.protocol
- SSL protocol to use for this connection. Valid values are:
TLS, TLSv1, TLSv1.1, TLSv1.2.
If not provided the value of the advanced configuration property
'util.httpClient.defaultSSLProtocol' will be used. FIPS and NIST
mode will override this value.timeout
- Request timeout in seconds
A value of 0 will result in no connection timeout.
If set to a value less than 0 the timeout will be set as the advanced configuration property util.httpClientv2.connectTimeout.public static HttpResponse httpGet(java.lang.String urlstr, Headers headers, java.lang.String httpsTrustStore, java.lang.String basicAuthUsername, java.lang.String basicAuthPassword, java.lang.String clientKeyStore, java.lang.String clientKeyAlias, java.lang.String protocol, boolean throwExec, int timeout)
urlstr
- URLheaders
- Headers to be added to the request header.httpsTrustStore
- The name of the trust store to use. If a HTTPS connection is
required and this is set to NULL, the default trust store
specified in the advanced configuration parameter util.httpClientv2.defaultTrustStore will be used.basicAuthUsername
- Basic-auth username. If null, basic-auth will be disabled.basicAuthPassword
- Basic-auth password. If null, basic-auth will be disabled.clientKeyStore
- Client key store. If null, client cert auth will be disabled.clientKeyAlias
- Client key alias. If null, client cert auth will be disabled.protocol
- SSL protocol to use for this connection. Valid values are:
TLS, TLSv1, TLSv1.1, TLSv1.2.
If not provided the value of the advanced configuration property
'util.httpClient.defaultSSLProtocol' will be used. FIPS and NIST
mode will override this value.throwExec
- If an exception should be raised, or handledtimeout
- Request timeout in seconds
A value of 0 will result in no connection timeout.
If set to a value less than 0 the timeout will be set as the advanced configuration property util.httpClientv2.connectTimeout.public static HttpResponse httpGet(RequestParameters params)
params
- The parameter object containing the required request parameters.public static HttpResponse httpGet(java.lang.String urlstr, Headers headers, java.lang.String httpsTrustStore, java.lang.String basicAuthUsername, java.lang.String basicAuthPassword, java.lang.String clientKeyStore, java.lang.String clientKeyAlias, java.lang.String protocol, boolean throwExec, int timeout, java.lang.String proxyServer)
urlstr
- URLheaders
- Headers to be added to the request header.httpsTrustStore
- The name of the trust store to use. If a HTTPS connection is
required and this is set to NULL, the default trust store
specified in the advanced configuration parameter util.httpClientv2.defaultTrustStore will be used.basicAuthUsername
- Basic-auth username. If null, basic-auth will be disabled.basicAuthPassword
- Basic-auth password. If null, basic-auth will be disabled.clientKeyStore
- Client key store. If null, client cert auth will be disabled.clientKeyAlias
- Client key alias. If null, client cert auth will be disabled.protocol
- SSL protocol to use for this connection. Valid values are:
TLS, TLSv1, TLSv1.1, TLSv1.2.
If not provided the value of the advanced configuration property
'util.httpClient.defaultSSLProtocol' will be used. FIPS and NIST
mode will override this value.throwExec
- If an exception should be raised, or handledtimeout
- Request timeout in seconds
A value of 0 will result in no connection timeout.
If set to a value less than 0 the timeout will be set as the advanced configuration property util.httpClientv2.connectTimeout.proxyServer
- The full name of the proxy server to use. Eg: https://proxy.com:443.
Set as null if a proxy server is not required.public static HttpResponse httpHead(RequestParameters params)
params
- The parameter object containing the required request parameters.public static HttpResponse httpHead(java.lang.String urlstr, Headers headers, java.lang.String httpsTrustStore, java.lang.String basicAuthUsername, java.lang.String basicAuthPassword, java.lang.String clientKeyStore, java.lang.String clientKeyAlias, java.lang.String protocol, boolean throwExec, int timeout, java.lang.String proxyServer)
urlstr
- URLheaders
- Headers to be added to the request header.httpsTrustStore
- The name of the trust store to use. If a HTTPS connection is
required and this is set to NULL, the default trust store
specified in the advanced configuration parameter util.httpClientv2.defaultTrustStore will be used.basicAuthUsername
- Basic-auth username. If null, basic-auth will be disabled.basicAuthPassword
- Basic-auth password. If null, basic-auth will be disabled.clientKeyStore
- Client key store. If null, client cert auth will be disabled.clientKeyAlias
- Client key alias. If null, client cert auth will be disabled.protocol
- SSL protocol to use for this connection. Valid values are:
TLS, TLSv1, TLSv1.1, TLSv1.2.
If not provided the value of the advanced configuration property
'util.httpClient.defaultSSLProtocol' will be used. FIPS and NIST
mode will override this value.throwExec
- If an exception should be raised, or handledtimeout
- Request timeout in seconds
A value of 0 will result in no connection timeout.
If set to a value less than 0 the timeout will be set as the advanced configuration property util.httpClientv2.connectTimeout.proxyServer
- The full name of the proxy server to use. Eg: https://proxy.com:443.
Set as null if a proxy server is not required.public static HttpResponse httpOptions(RequestParameters params)
params
- The parameter object containing the required request parameters.public static HttpResponse httpOptions(java.lang.String urlstr, Headers headers, java.lang.String httpsTrustStore, java.lang.String basicAuthUsername, java.lang.String basicAuthPassword, java.lang.String clientKeyStore, java.lang.String clientKeyAlias, java.lang.String protocol, boolean throwExec, int timeout, java.lang.String proxyServer)
urlstr
- URLheaders
- Headers to be added to the request header.httpsTrustStore
- The name of the trust store to use. If a HTTPS connection is
required and this is set to NULL, the default trust store
specified in the advanced configuration parameter util.httpClientv2.defaultTrustStore will be used.basicAuthUsername
- Basic-auth username. If null, basic-auth will be disabled.basicAuthPassword
- Basic-auth password. If null, basic-auth will be disabled.clientKeyStore
- Client key store. If null, client cert auth will be disabled.clientKeyAlias
- Client key alias. If null, client cert auth will be disabled.protocol
- SSL protocol to use for this connection. Valid values are:
TLS, TLSv1, TLSv1.1, TLSv1.2.
If not provided the value of the advanced configuration property
'util.httpClient.defaultSSLProtocol' will be used. FIPS and NIST
mode will override this value.throwExec
- If an exception should be raised, or handledtimeout
- Request timeout in seconds
A value of 0 will result in no connection timeout.
If set to a value less than 0 the timeout will be set as the advanced configuration property util.httpClientv2.connectTimeout.proxyServer
- The full name of the proxy server to use. Eg: https://proxy.com:443.
Set as null if a proxy server is not required.public static HttpResponse httpTrace(RequestParameters params)
params
- The parameter object containing the required request parameters.public static HttpResponse httpTrace(java.lang.String urlstr, Headers headers, java.lang.String httpsTrustStore, java.lang.String basicAuthUsername, java.lang.String basicAuthPassword, java.lang.String clientKeyStore, java.lang.String clientKeyAlias, java.lang.String protocol, boolean throwExec, int timeout, java.lang.String proxyServer)
urlstr
- URLheaders
- Headers to be added to the request header.httpsTrustStore
- The name of the trust store to use. If a HTTPS connection is
required and this is set to NULL, the default trust store
specified in the advanced configuration parameter util.httpClientv2.defaultTrustStore will be used.basicAuthUsername
- Basic-auth username. If null, basic-auth will be disabled.basicAuthPassword
- Basic-auth password. If null, basic-auth will be disabled.clientKeyStore
- Client key store. If null, client cert auth will be disabled.clientKeyAlias
- Client key alias. If null, client cert auth will be disabled.protocol
- SSL protocol to use for this connection. Valid values are:
TLS, TLSv1, TLSv1.1, TLSv1.2.
If not provided the value of the advanced configuration property
'util.httpClient.defaultSSLProtocol' will be used. FIPS and NIST
mode will override this value.throwExec
- If an exception should be raised, or handledtimeout
- Request timeout in seconds
A value of 0 will result in no connection timeout.
If set to a value less than 0 the timeout will be set as the advanced configuration property util.httpClientv2.connectTimeout.proxyServer
- The full name of the proxy server to use. Eg: https://proxy.com:443.
Set as null if a proxy server is not required.public static HttpResponse httpPost(java.lang.String urlstr, Parameters params)
urlstr
- URLparams
- Parameters to be added to the request body.public static HttpResponse httpPost(java.lang.String urlstr, Parameters params, boolean sendDataAsJson)
urlstr
- URLparams
- Parameters to be added to the request body.sendDataAsJson
- If the post data should be json formatted or not.public static HttpResponse httpPost(java.lang.String urlstr, Headers headers, java.lang.String body, java.lang.String httpsTrustStore, java.lang.String basicAuthUsername, java.lang.String basicAuthPassword, java.lang.String clientKeyStore, java.lang.String clientKeyAlias)
urlstr
- URLheaders
- Headers to be added to the request header.body
- A String representation of the HTTP POST BodyhttpsTrustStore
- The trust store to use. If a HTTPS connection is required and
this is set to NULL, the default trust store specified in the
advanced configuration parameter util.httpClientv2.defaultTrustStore will be used.basicAuthUsername
- Basic-auth username. If null, basic-auth will be disabled.basicAuthPassword
- Basic-auth password. If null, basic-auth will be disabled.clientKeyStore
- Client key store. If null, client cert auth will be disabled.clientKeyAlias
- Client key alias. If null, client cert auth will be disabled.public static HttpResponse httpPost(java.lang.String urlstr, Headers headers, java.lang.String body, java.lang.String httpsTrustStore, java.lang.String basicAuthUsername, java.lang.String basicAuthPassword, java.lang.String clientKeyStore, java.lang.String clientKeyAlias, int timeout)
urlstr
- URLheaders
- Headers to be added to the request header.body
- A String representation of the HTTP POST BodyhttpsTrustStore
- The trust store to use. If a HTTPS connection is required and
this is set to NULL, the default trust store specified in the
advanced configuration parameter util.httpClientv2.defaultTrustStore will be used.basicAuthUsername
- Basic-auth username. If null, basic-auth will be disabled.basicAuthPassword
- Basic-auth password. If null, basic-auth will be disabled.clientKeyStore
- Client key store. If null, client cert auth will be disabled.clientKeyAlias
- Client key alias. If null, client cert auth will be disabled.timeout
- Request timeout in seconds
A value of 0 will result in no connection timeout.
If set to a value less than 0 the timeout will be set as the advanced configuration property util.httpClientv2.connectTimeout.public static HttpResponse httpPost(java.lang.String urlstr, Headers headers, Parameters params, java.lang.String httpsTrustStore, java.lang.String basicAuthUsername, java.lang.String basicAuthPassword, java.lang.String clientKeyStore, java.lang.String clientKeyAlias)
urlstr
- URLheaders
- Headers to be added to the request header.params
- Parameters to be added to the request body.httpsTrustStore
- The trust store to use. If a HTTPS connection is required and
this is set to NULL, the default trust store specified in the
advanced configuration parameter util.httpClientv2.defaultTrustStore will be used.basicAuthUsername
- Basic-auth username. If null, basic-auth will be disabled.basicAuthPassword
- Basic-auth password. If null, basic-auth will be disabled.clientKeyStore
- Client key store. If null, client cert auth will be disabled.clientKeyAlias
- Client key alias. If null, client cert auth will be disabled.public static HttpResponse httpPost(java.lang.String urlstr, Headers headers, Parameters params, java.lang.String httpsTrustStore, java.lang.String basicAuthUsername, java.lang.String basicAuthPassword, java.lang.String clientKeyStore, java.lang.String clientKeyAlias, boolean sendDataAsJson)
urlstr
- URLheaders
- Headers to be added to the request header.params
- Parameters to be added to the request body.httpsTrustStore
- The trust store to use. If a HTTPS connection is required and
this is set to NULL, the default trust store specified in the
advanced configuration parameter util.httpClientv2.defaultTrustStore will be used.basicAuthUsername
- Basic-auth username. If null, basic-auth will be disabled.basicAuthPassword
- Basic-auth password. If null, basic-auth will be disabled.clientKeyStore
- Client key store. If null, client cert auth will be disabled.clientKeyAlias
- Client key alias. If null, client cert auth will be disabled.sendDataAsJson
- If the post data should be json formatted or not.public static HttpResponse httpPost(java.lang.String urlstr, Headers headers, Parameters params, java.lang.String httpsTrustStore, java.lang.String basicAuthUsername, java.lang.String basicAuthPassword, java.lang.String clientKeyStore, java.lang.String clientKeyAlias, java.lang.String protocol)
urlstr
- URLheaders
- Headers to be added to the request header.params
- Parameters to be added to the request body.httpsTrustStore
- The trust store to use. If a HTTPS connection is required and
this is set to NULL, the default trust store specified in the
advanced configuration parameter util.httpClientv2.defaultTrustStore will be used.basicAuthUsername
- Basic-auth username. If null, basic-auth will be disabled.basicAuthPassword
- Basic-auth password. If null, basic-auth will be disabled.clientKeyStore
- Client key store. If null, client cert auth will be disabled.clientKeyAlias
- Client key alias. If null, client cert auth will be disabled.protocol
- SSL protocol to use for this connection. Valid values are:
TLS, TLSv1, TLSv1.1, TLSv1.2.
If not provided the value of the advanced configuration property
'util.httpClient.defaultSSLProtocol' will be used. FIPS and NIST
mode will override this value.public static HttpResponse httpPost(java.lang.String urlstr, Headers headers, Parameters params, java.lang.String httpsTrustStore, java.lang.String basicAuthUsername, java.lang.String basicAuthPassword, java.lang.String clientKeyStore, java.lang.String clientKeyAlias, java.lang.String protocol, boolean sendDataAsJson)
urlstr
- URLheaders
- Headers to be added to the request header.params
- Parameters to be added to the request body.httpsTrustStore
- The trust store to use. If a HTTPS connection is required and
this is set to NULL, the default trust store specified in the
advanced configuration parameter util.httpClientv2.defaultTrustStore will be used.basicAuthUsername
- Basic-auth username. If null, basic-auth will be disabled.basicAuthPassword
- Basic-auth password. If null, basic-auth will be disabled.clientKeyStore
- Client key store. If null, client cert auth will be disabled.clientKeyAlias
- Client key alias. If null, client cert auth will be disabled.protocol
- SSL protocol to use for this connection. Valid values are:
TLS, TLSv1, TLSv1.1, TLSv1.2.
If not provided the value of the advanced configuration property
'util.httpClient.defaultSSLProtocol' will be used. FIPS and NIST
mode will override this value.sendDataAsJson
- If the post data should be json formatted or not.public static HttpResponse httpPost(java.lang.String urlstr, Headers headers, Parameters params, java.lang.String httpsTrustStore, java.lang.String basicAuthUsername, java.lang.String basicAuthPassword, java.lang.String clientKeyStore, java.lang.String clientKeyAlias, java.lang.String protocol, boolean throwException, int timeout, boolean sendDataAsJson)
urlstr
- URLheaders
- Headers to be added to the request header.params
- Parameters to be added to the request body.httpsTrustStore
- The trust store to use. If a HTTPS connection is required and
this is set to NULL, the default trust store specified in the
advanced configuration parameter util.httpClientv2.defaultTrustStore will be used.basicAuthUsername
- Basic-auth username. If null, basic-auth will be disabled.basicAuthPassword
- Basic-auth password. If null, basic-auth will be disabled.clientKeyStore
- Client key store. If null, client cert auth will be disabled.clientKeyAlias
- Client key alias. If null, client cert auth will be disabled.protocol
- SSL protocol to use for this connection. Valid values are:
TLS, TLSv1, TLSv1.1, TLSv1.2.
If not provided the value of the advanced configuration property
'util.httpClient.defaultSSLProtocol' will be used. FIPS and NIST
mode will override this value.throwException
- If an exception should be raised, or handledtimeout
- Request timeout in seconds.
A value of 0 will result in no connection timeout.
If set to a value less than 0 the timeout will be set as the advanced configuration property util.httpClientv2.connectTimeout.sendDataAsJson
- If the post data should be json formatted or not.public static HttpResponse httpPost(RequestParameters params)
params
- The parameter object containing the required request parameters.public static HttpResponse httpPost(java.lang.String urlstr, Headers headers, Parameters params, java.lang.String httpsTrustStore, java.lang.String basicAuthUsername, java.lang.String basicAuthPassword, java.lang.String clientKeyStore, java.lang.String clientKeyAlias, java.lang.String protocol, boolean throwException, int timeout, boolean sendDataAsJson, java.lang.String proxyServer)
urlstr
- URLheaders
- Headers to be added to the request header.params
- Parameters to be added to the request body.httpsTrustStore
- The trust store to use. If a HTTPS connection is required and
this is set to NULL, the default trust store specified in the
advanced configuration parameter util.httpClientv2.defaultTrustStore will be used.basicAuthUsername
- Basic-auth username. If null, basic-auth will be disabled.basicAuthPassword
- Basic-auth password. If null, basic-auth will be disabled.clientKeyStore
- Client key store. If null, client cert auth will be disabled.clientKeyAlias
- Client key alias. If null, client cert auth will be disabled.protocol
- SSL protocol to use for this connection. Valid values are:
TLS, TLSv1, TLSv1.1, TLSv1.2.
If not provided the value of the advanced configuration property
'util.httpClient.defaultSSLProtocol' will be used. FIPS and NIST
mode will override this value.throwException
- If an exception should be raised, or handledtimeout
- Request timeout in seconds
A value of 0 will result in no connection timeout.
If set to a value less than 0 the timeout will be set as the advanced configuration property util.httpClientv2.connectTimeout.sendDataAsJson
- If the post data should be json formatted or not.proxyServer
- The full name of the proxy server to use. Eg: https://proxy.com:443.
Set as null if a proxy server is not required.public static HttpResponse httpPut(java.lang.String urlstr, Parameters params)
urlstr
- URLparams
- Parameters to be added to the request body.public static HttpResponse httpPut(java.lang.String urlstr, Parameters params, boolean sendDataAsJson)
urlstr
- URLparams
- Parameters to be added to the request body.sendDataAsJson
- If the post data should be json formatted or not.public static HttpResponse httpPut(java.lang.String urlstr, Headers headers, java.lang.String body, java.lang.String httpsTrustStore, java.lang.String basicAuthUsername, java.lang.String basicAuthPassword, java.lang.String clientKeyStore, java.lang.String clientKeyAlias)
urlstr
- URLheaders
- Headers to be added to the request header.body
- A String representation of the HTTP PUT BodyhttpsTrustStore
- The trust store to use. If a HTTPS connection is required and
this is set to NULL, the default trust store specified in the
advanced configuration parameter util.httpClientv2.defaultTrustStore will be used.basicAuthUsername
- Basic-auth username. If null, basic-auth will be disabled.basicAuthPassword
- Basic-auth password. If null, basic-auth will be disabled.clientKeyStore
- Client key store. If null, client cert auth will be disabled.clientKeyAlias
- Client key alias. If null, client cert auth will be disabled.public static HttpResponse httpPut(java.lang.String urlstr, Headers headers, java.lang.String body, java.lang.String httpsTrustStore, java.lang.String basicAuthUsername, java.lang.String basicAuthPassword, java.lang.String clientKeyStore, java.lang.String clientKeyAlias, int timeout)
urlstr
- URLheaders
- Headers to be added to the request header.body
- A String representation of the HTTP PUT BodyhttpsTrustStore
- The trust store to use. If a HTTPS connection is required and
this is set to NULL, the default trust store specified in the
advanced configuration parameter util.httpClientv2.defaultTrustStore will be used.basicAuthUsername
- Basic-auth username. If null, basic-auth will be disabled.basicAuthPassword
- Basic-auth password. If null, basic-auth will be disabled.clientKeyStore
- Client key store. If null, client cert auth will be disabled.clientKeyAlias
- Client key alias. If null, client cert auth will be disabled.timeout
- Request timeout in seconds.
A value of 0 will result in no connection timeout.
If set to a value less than 0 the timeout will be set as the advanced configuration property util.httpClientv2.connectTimeout.public static HttpResponse httpPut(java.lang.String urlstr, Headers headers, Parameters params, java.lang.String httpsTrustStore, java.lang.String basicAuthUsername, java.lang.String basicAuthPassword, java.lang.String clientKeyStore, java.lang.String clientKeyAlias)
urlstr
- URLheaders
- Headers to be added to the request header.params
- Parameters to be added to the request body.httpsTrustStore
- The trust store to use. If a HTTPS connection is required and
this is set to NULL, the default trust store specified in the
advanced configuration parameter util.httpClientv2.defaultTrustStore will be used.basicAuthUsername
- Basic-auth username. If null, basic-auth will be disabled.basicAuthPassword
- Basic-auth password. If null, basic-auth will be disabled.clientKeyStore
- Client key store. If null, client cert auth will be disabled.clientKeyAlias
- Client key alias. If null, client cert auth will be disabled.public static HttpResponse httpPut(java.lang.String urlstr, Headers headers, Parameters params, java.lang.String httpsTrustStore, java.lang.String basicAuthUsername, java.lang.String basicAuthPassword, java.lang.String clientKeyStore, java.lang.String clientKeyAlias, boolean sendDataAsJson)
urlstr
- URLheaders
- Headers to be added to the request header.params
- Parameters to be added to the request body.httpsTrustStore
- The trust store to use. If a HTTPS connection is required and
this is set to NULL, the default trust store specified in the
advanced configuration parameter util.httpClientv2.defaultTrustStore will be used.basicAuthUsername
- Basic-auth username. If null, basic-auth will be disabled.basicAuthPassword
- Basic-auth password. If null, basic-auth will be disabled.clientKeyStore
- Client key store. If null, client cert auth will be disabled.clientKeyAlias
- Client key alias. If null, client cert auth will be disabled.sendDataAsJson
- If the post data should be json formatted or not.public static HttpResponse httpPut(java.lang.String urlstr, Headers headers, Parameters params, java.lang.String httpsTrustStore, java.lang.String basicAuthUsername, java.lang.String basicAuthPassword, java.lang.String clientKeyStore, java.lang.String clientKeyAlias, java.lang.String protocol)
urlstr
- URLheaders
- Headers to be added to the request header.params
- Parameters to be added to the request body.httpsTrustStore
- The trust store to use. If a HTTPS connection is required and
this is set to NULL, the default trust store specified in the
advanced configuration parameter util.httpClientv2.defaultTrustStore will be used.basicAuthUsername
- Basic-auth username. If null, basic-auth will be disabled.basicAuthPassword
- Basic-auth password. If null, basic-auth will be disabled.clientKeyStore
- Client key store. If null, client cert auth will be disabled.clientKeyAlias
- Client key alias. If null, client cert auth will be disabled.protocol
- SSL protocol to use for this connection. Valid values are:
TLS, TLSv1, TLSv1.1, TLSv1.2.
If not provided the value of the advanced configuration property
'util.httpClient.defaultSSLProtocol' will be used. FIPS and NIST
mode will override this value.public static HttpResponse httpPut(java.lang.String urlstr, Headers headers, Parameters params, java.lang.String httpsTrustStore, java.lang.String basicAuthUsername, java.lang.String basicAuthPassword, java.lang.String clientKeyStore, java.lang.String clientKeyAlias, java.lang.String protocol, boolean sendDataAsJson)
urlstr
- URLheaders
- Headers to be added to the request header.params
- Parameters to be added to the request body.httpsTrustStore
- The trust store to use. If a HTTPS connection is required and
this is set to NULL, the default trust store specified in the
advanced configuration parameter util.httpClientv2.defaultTrustStore will be used.basicAuthUsername
- Basic-auth username. If null, basic-auth will be disabled.basicAuthPassword
- Basic-auth password. If null, basic-auth will be disabled.clientKeyStore
- Client key store. If null, client cert auth will be disabled.clientKeyAlias
- Client key alias. If null, client cert auth will be disabled.protocol
- SSL protocol to use for this connection. Valid values are:
TLS, TLSv1, TLSv1.1, TLSv1.2.
If not provided the value of the advanced configuration property
'util.httpClient.defaultSSLProtocol' will be used. FIPS and NIST
mode will override this value.sendDataAsJson
- If the post data should be json formatted or not.public static HttpResponse httpPut(java.lang.String urlstr, Headers headers, Parameters params, java.lang.String httpsTrustStore, java.lang.String basicAuthUsername, java.lang.String basicAuthPassword, java.lang.String clientKeyStore, java.lang.String clientKeyAlias, java.lang.String protocol, int timeout, boolean sendDataAsJson)
urlstr
- URLheaders
- Headers to be added to the request header.params
- Parameters to be added to the request body.httpsTrustStore
- The trust store to use. If a HTTPS connection is required and
this is set to NULL, the default trust store specified in the
advanced configuration parameter util.httpClientv2.defaultTrustStore will be used.basicAuthUsername
- Basic-auth username. If null, basic-auth will be disabled.basicAuthPassword
- Basic-auth password. If null, basic-auth will be disabled.clientKeyStore
- Client key store. If null, client cert auth will be disabled.clientKeyAlias
- Client key alias. If null, client cert auth will be disabled.protocol
- SSL protocol to use for this connection. Valid values are:
TLS, TLSv1, TLSv1.1, TLSv1.2.
If not provided the value of the advanced configuration property
'util.httpClient.defaultSSLProtocol' will be used. FIPS and NIST
mode will override this value.timeout
- Request timeout in seconds.
A value of 0 will result in no connection timeout.
If set to a value less than 0 the timeout will be set as the advanced configuration property util.httpClientv2.connectTimeout.sendDataAsJson
- If the post data should be json formatted or not.proxyServer
- The full name of the proxy server to use. Eg: https://proxy.com:443.
Set as null if a proxy server is not required.public static HttpResponse httpPut(java.lang.String urlstr, Headers headers, Parameters params, java.lang.String httpsTrustStore, java.lang.String basicAuthUsername, java.lang.String basicAuthPassword, java.lang.String clientKeyStore, java.lang.String clientKeyAlias, java.lang.String protocol, int timeout, boolean sendDataAsJson, java.lang.String proxyServer)
urlstr
- URLheaders
- Headers to be added to the request header.params
- Parameters to be added to the request body.httpsTrustStore
- The trust store to use. If a HTTPS connection is required and
this is set to NULL, the default trust store specified in the
advanced configuration parameter util.httpClientv2.defaultTrustStore will be used.basicAuthUsername
- Basic-auth username. If null, basic-auth will be disabled.basicAuthPassword
- Basic-auth password. If null, basic-auth will be disabled.clientKeyStore
- Client key store. If null, client cert auth will be disabled.clientKeyAlias
- Client key alias. If null, client cert auth will be disabled.protocol
- SSL protocol to use for this connection. Valid values are:
TLS, TLSv1, TLSv1.1, TLSv1.2.
If not provided the value of the advanced configuration property
'util.httpClient.defaultSSLProtocol' will be used. FIPS and NIST
mode will override this value.timeout
- Request timeout in seconds.
A value of 0 will result in no connection timeout.
If set to a value less than 0 the timeout will be set as the advanced configuration property util.httpClientv2.connectTimeout.sendDataAsJson
- If the post data should be json formatted or not.proxyServer
- The full name of the proxy server to use. Eg: https://proxy.com:443.
Set as null if a proxy server is not required.public static HttpResponse httpPut(RequestParameters params)
params
- The parameter object containing the required request parameters.public static HttpResponse httpPut(java.lang.String urlstr, Headers headers, Parameters params, java.lang.String httpsTrustStore, java.lang.String basicAuthUsername, java.lang.String basicAuthPassword, java.lang.String clientKeyStore, java.lang.String clientKeyAlias, java.lang.String protocol, boolean throwException, int timeout, boolean sendDataAsJson, java.lang.String proxyServer)
urlstr
- URLheaders
- Headers to be added to the request header.params
- Parameters to be added to the request body.httpsTrustStore
- The trust store to use. If a HTTPS connection is required and
this is set to NULL, the default trust store specified in the
advanced configuration parameter util.httpClientv2.defaultTrustStore will be used.basicAuthUsername
- Basic-auth username. If null, basic-auth will be disabled.basicAuthPassword
- Basic-auth password. If null, basic-auth will be disabled.clientKeyStore
- Client key store. If null, client cert auth will be disabled.clientKeyAlias
- Client key alias. If null, client cert auth will be disabled.protocol
- SSL protocol to use for this connection. Valid values are:
TLS, TLSv1, TLSv1.1, TLSv1.2.
If not provided the value of the advanced configuration property
'util.httpClient.defaultSSLProtocol' will be used. FIPS and NIST
mode will override this value.throwException
- If an exception should be raised, or handledtimeout
- Request timeout in seconds.
A value of 0 will result in no connection timeout.
If set to a value less than 0 the timeout will be set as the advanced configuration property util.httpClientv2.connectTimeout.sendDataAsJson
- If the post data should be json formatted or not.proxyServer
- The full name of the proxy server to use. Eg: https://proxy.com:443.
Set as null if a proxy server is not required.public static HttpResponse httpPatch(java.lang.String urlstr, Parameters params)
urlstr
- URLparams
- Parameters to be added to the request body.public static HttpResponse httpPatch(java.lang.String urlstr, Parameters params, boolean sendDataAsJson)
urlstr
- URLparams
- Parameters to be added to the request body.sendDataAsJson
- If the post data should be json formatted or not.public static HttpResponse httpPatch(java.lang.String urlstr, Headers headers, java.lang.String body, java.lang.String httpsTrustStore, java.lang.String basicAuthUsername, java.lang.String basicAuthPassword, java.lang.String clientKeyStore, java.lang.String clientKeyAlias, java.lang.String protocol)
urlstr
- URLheaders
- Headers to be added to the request header.body
- A String representation of the HTTP PUT BodyhttpsTrustStore
- The trust store to use. If a HTTPS connection is required and
this is set to NULL, the default trust store specified in the
advanced configuration parameter util.httpClientv2.defaultTrustStore will be used.basicAuthUsername
- Basic-auth username. If null, basic-auth will be disabled.basicAuthPassword
- Basic-auth password. If null, basic-auth will be disabled.clientKeyStore
- Client key store. If null, client cert auth will be disabled.clientKeyAlias
- Client key alias. If null, client cert auth will be disabled.protocol
- SSL protocol to use for this connection. Valid values are:
TLS, TLSv1, TLSv1.1, TLSv1.2.
If not provided the value of the advanced configuration property
'util.httpClient.defaultSSLProtocol' will be used. FIPS and NIST
mode will override this value.public static HttpResponse httpPatch(java.lang.String urlstr, Headers headers, Parameters params, java.lang.String httpsTrustStore, java.lang.String basicAuthUsername, java.lang.String basicAuthPassword, java.lang.String clientKeyStore, java.lang.String clientKeyAlias, java.lang.String protocol)
urlstr
- URLheaders
- Headers to be added to the request header.params
- Parameters to be added to the request body.httpsTrustStore
- The trust store to use. If a HTTPS connection is required and
this is set to NULL, the default trust store specified in the
advanced configuration parameter util.httpClientv2.defaultTrustStore will be used.basicAuthUsername
- Basic-auth username. If null, basic-auth will be disabled.basicAuthPassword
- Basic-auth password. If null, basic-auth will be disabled.clientKeyStore
- Client key store. If null, client cert auth will be disabled.clientKeyAlias
- Client key alias. If null, client cert auth will be disabled.protocol
- SSL protocol to use for this connection. Valid values are:
TLS, TLSv1, TLSv1.1, TLSv1.2.
If not provided the value of the advanced configuration property
'util.httpClient.defaultSSLProtocol' will be used. FIPS and NIST
mode will override this value.public static HttpResponse httpPatch(java.lang.String urlstr, Headers headers, Parameters params, java.lang.String httpsTrustStore, java.lang.String basicAuthUsername, java.lang.String basicAuthPassword, java.lang.String clientKeyStore, java.lang.String clientKeyAlias, java.lang.String protocol, int timeout, boolean sendDataAsJson)
urlstr
- URLheaders
- Headers to be added to the request header.params
- Parameters to be added to the request body.httpsTrustStore
- The trust store to use. If a HTTPS connection is required and
this is set to NULL, the default trust store specified in the
advanced configuration parameter util.httpClientv2.defaultTrustStore will be used.basicAuthUsername
- Basic-auth username. If null, basic-auth will be disabled.basicAuthPassword
- Basic-auth password. If null, basic-auth will be disabled.clientKeyStore
- Client key store. If null, client cert auth will be disabled.clientKeyAlias
- Client key alias. If null, client cert auth will be disabled.protocol
- SSL protocol to use for this connection. Valid values are:
TLS, TLSv1, TLSv1.1, TLSv1.2.
If not provided the value of the advanced configuration property
'util.httpClient.defaultSSLProtocol' will be used. FIPS and NIST
mode will override this value.timeout
- Request timeout in seconds.
A value of 0 will result in no connection timeout.
If set to a value less than 0 the timeout will be set as the advanced configuration property util.httpClientv2.connectTimeout.sendDataAsJson
- If the post data should be json formatted or not.public static HttpResponse httpPatch(java.lang.String urlstr, Headers headers, Parameters params, java.lang.String httpsTrustStore, java.lang.String basicAuthUsername, java.lang.String basicAuthPassword, java.lang.String clientKeyStore, java.lang.String clientKeyAlias, java.lang.String protocol, int timeout, boolean sendDataAsJson, java.lang.String proxyServer)
urlstr
- URLheaders
- Headers to be added to the request header.params
- Parameters to be added to the request body.httpsTrustStore
- The trust store to use. If a HTTPS connection is required and
this is set to NULL, the default trust store specified in the
advanced configuration parameter util.httpClientv2.defaultTrustStore will be used.basicAuthUsername
- Basic-auth username. If null, basic-auth will be disabled.basicAuthPassword
- Basic-auth password. If null, basic-auth will be disabled.clientKeyStore
- Client key store. If null, client cert auth will be disabled.clientKeyAlias
- Client key alias. If null, client cert auth will be disabled.protocol
- SSL protocol to use for this connection. Valid values are:
TLS, TLSv1, TLSv1.1, TLSv1.2.
If not provided the value of the advanced configuration property
'util.httpClient.defaultSSLProtocol' will be used. FIPS and NIST
mode will override this value.timeout
- Request timeout in seconds.
A value of 0 will result in no connection timeout.
If set to a value less than 0 the timeout will be set as the advanced configuration property util.httpClientv2.connectTimeout.sendDataAsJson
- If the post data should be json formatted or not.proxyServer
- The full name of the proxy server to use. Eg: https://proxy.com:443.
Set as null if a proxy server is not required.public static HttpResponse httpPatch(RequestParameters params)
params
- The parameter object containing the required request parameters.public static HttpResponse httpPatch(java.lang.String urlstr, Headers headers, Parameters params, java.lang.String httpsTrustStore, java.lang.String basicAuthUsername, java.lang.String basicAuthPassword, java.lang.String clientKeyStore, java.lang.String clientKeyAlias, java.lang.String protocol, boolean throwException, int timeout, boolean sendDataAsJson, java.lang.String proxyServer)
urlstr
- URLheaders
- Headers to be added to the request header.params
- Parameters to be added to the request body.httpsTrustStore
- The trust store to use. If a HTTPS connection is required and
this is set to NULL, the default trust store specified in the
advanced configuration parameter util.httpClientv2.defaultTrustStore will be used.basicAuthUsername
- Basic-auth username. If null, basic-auth will be disabled.basicAuthPassword
- Basic-auth password. If null, basic-auth will be disabled.clientKeyStore
- Client key store. If null, client cert auth will be disabled.clientKeyAlias
- Client key alias. If null, client cert auth will be disabled.protocol
- SSL protocol to use for this connection. Valid values are:
TLS, TLSv1, TLSv1.1, TLSv1.2.
If not provided the value of the advanced configuration property
'util.httpClient.defaultSSLProtocol' will be used. FIPS and NIST
mode will override this value.throwException
- If an exception should be raised, or handledtimeout
- Request timeout in seconds.
A value of 0 will result in no connection timeout.
If set to a value less than 0 the timeout will be set as the advanced configuration property util.httpClientv2.connectTimeout.sendDataAsJson
- If the post data should be json formatted or not.proxyServer
- The full name of the proxy server to use. Eg: https://proxy.com:443.
Set as null if a proxy server is not required.public static HttpResponse httpDelete(java.lang.String urlstr)
urlstr
- URLpublic static HttpResponse httpDelete(java.lang.String urlstr, Headers headers, java.lang.String httpsTrustStore, java.lang.String basicAuthUsername, java.lang.String basicAuthPassword, java.lang.String clientKeyStore, java.lang.String clientKeyAlias, java.lang.String protocol)
urlstr
- URLheaders
- Headers to be added to the request header.httpsTrustStore
- The trust store to use. If a HTTPS connection is required and
this is set to NULL, the default trust store specified in the
advanced configuration parameter util.httpClientv2.defaultTrustStore will be used.basicAuthUsername
- Basic-auth username. If null, basic-auth will be disabled.basicAuthPassword
- Basic-auth password. If null, basic-auth will be disabled.clientKeyStore
- Client key store. If null, client cert auth will be disabled.clientKeyAlias
- Client key alias. If null, client cert auth will be disabled.protocol
- SSL protocol to use for this connection. Valid values are:
TLS, TLSv1, TLSv1.1, TLSv1.2.
If not provided the value of the advanced configuration property
'util.httpClient.defaultSSLProtocol' will be used. FIPS and NIST
mode will override this value.public static HttpResponse httpDelete(java.lang.String urlstr, Headers headers, java.lang.String httpsTrustStore, java.lang.String basicAuthUsername, java.lang.String basicAuthPassword, java.lang.String clientKeyStore, java.lang.String clientKeyAlias, java.lang.String protocol, int timeout)
urlstr
- URLheaders
- Headers to be added to the request header.httpsTrustStore
- The trust store to use. If a HTTPS connection is required and
this is set to NULL, the default trust store specified in the
advanced configuration parameter util.httpClientv2.defaultTrustStore will be used.basicAuthUsername
- Basic-auth username. If null, basic-auth will be disabled.basicAuthPassword
- Basic-auth password. If null, basic-auth will be disabled.clientKeyStore
- Client key store. If null, client cert auth will be disabled.clientKeyAlias
- Client key alias. If null, client cert auth will be disabled.protocol
- SSL protocol to use for this connection. Valid values are:
TLS, TLSv1, TLSv1.1, TLSv1.2.
If not provided the value of the advanced configuration property
'util.httpClient.defaultSSLProtocol' will be used. FIPS and NIST
mode will override this value.timeout
- Request timeout in seconds.
A value of 0 will result in no connection timeout.
If set to a value less than 0 the timeout will be set as the advanced configuration property util.httpClientv2.connectTimeout.proxyServer
- The full name of the proxy server to use. Eg: https://proxy.com:443.
Set as null if a proxy server is not required.public static HttpResponse httpDelete(java.lang.String urlstr, Headers headers, java.lang.String httpsTrustStore, java.lang.String basicAuthUsername, java.lang.String basicAuthPassword, java.lang.String clientKeyStore, java.lang.String clientKeyAlias, java.lang.String protocol, int timeout, java.lang.String proxyServer)
urlstr
- URLheaders
- Headers to be added to the request header.httpsTrustStore
- The trust store to use. If a HTTPS connection is required and
this is set to NULL, the default trust store specified in the
advanced configuration parameter util.httpClientv2.defaultTrustStore will be used.basicAuthUsername
- Basic-auth username. If null, basic-auth will be disabled.basicAuthPassword
- Basic-auth password. If null, basic-auth will be disabled.clientKeyStore
- Client key store. If null, client cert auth will be disabled.clientKeyAlias
- Client key alias. If null, client cert auth will be disabled.protocol
- SSL protocol to use for this connection. Valid values are:
TLS, TLSv1, TLSv1.1, TLSv1.2.
If not provided the value of the advanced configuration property
'util.httpClient.defaultSSLProtocol' will be used. FIPS and NIST
mode will override this value.timeout
- Request timeout in seconds.
A value of 0 will result in no connection timeout.
If set to a value less than 0 the timeout will be set as the advanced configuration property util.httpClientv2.connectTimeout.proxyServer
- The full name of the proxy server to use. Eg: https://proxy.com:443.
Set as null if a proxy server is not required.public static HttpResponse httpDelete(RequestParameters params)
params
- The parameter object containing the required request parameters.public static HttpResponse httpDelete(java.lang.String urlstr, Headers headers, java.lang.String httpsTrustStore, java.lang.String basicAuthUsername, java.lang.String basicAuthPassword, java.lang.String clientKeyStore, java.lang.String clientKeyAlias, java.lang.String protocol, boolean throwException, int timeout, java.lang.String proxyServer)
urlstr
- URLheaders
- Headers to be added to the request header.httpsTrustStore
- The trust store to use. If a HTTPS connection is required and
this is set to NULL, the default trust store specified in the
advanced configuration parameter util.httpClientv2.defaultTrustStore will be used.basicAuthUsername
- Basic-auth username. If null, basic-auth will be disabled.basicAuthPassword
- Basic-auth password. If null, basic-auth will be disabled.clientKeyStore
- Client key store. If null, client cert auth will be disabled.clientKeyAlias
- Client key alias. If null, client cert auth will be disabled.protocol
- SSL protocol to use for this connection. Valid values are:
TLS, TLSv1, TLSv1.1, TLSv1.2.
If not provided the value of the advanced configuration property
'util.httpClient.defaultSSLProtocol' will be used. FIPS and NIST
mode will override this value.throwException
- If an exception should be raised, or handledtimeout
- Request timeout in seconds.
A value of 0 will result in no connection timeout.
If set to a value less than 0 the timeout will be set as the advanced configuration property util.httpClientv2.connectTimeout.proxyServer
- The full name of the proxy server to use. Eg: https://proxy.com:443.
Set as null if a proxy server is not required.