| Package | Description |
|---|---|
| com.helger.commons.ws |
| Modifier and Type | Method and Description |
|---|---|
WSClientConfig |
WSClientConfig.addHandler(Handler<? extends MessageContext> aHandler)
Add a special handler to modify the transmission on the fly.
|
WSClientConfig |
WSClientConfig.addHTTPHeader(String sName,
Collection<String> aValues)
Add an HTTP header to be send.
|
WSClientConfig |
WSClientConfig.addHTTPHeader(String sName,
String sValue)
Add an HTTP header to be send.
|
WSClientConfig |
WSClientConfig.setChunkSize(int nChunkSize)
Set the chunk size to enable HTTP chunked encoding.
|
WSClientConfig |
WSClientConfig.setCompressedRequest(boolean bCompress)
Forces this client to send compressed HTTP content.
|
WSClientConfig |
WSClientConfig.setCompressedResponse(boolean bCompress)
Add a hint that this client understands compressed HTTP content.
|
WSClientConfig |
WSClientConfig.setConnectionTimeoutMS(int nConnectionTimeoutMS)
Set the connection timeout in milliseconds.
|
WSClientConfig |
WSClientConfig.setCookiesSupportEnabled(boolean bEnabled) |
WSClientConfig |
WSClientConfig.setHostnameVerifier(HostnameVerifier aHostnameVerifier)
Change the
HostnameVerifier to be used by this client. |
WSClientConfig |
WSClientConfig.setHostnameVerifierTrustAll()
Set the
HostnameVerifier to a "trust all" verifier. |
WSClientConfig |
WSClientConfig.setHTTPHeader(String sName,
Collection<String> aValues)
Add an HTTP header to be send.
|
WSClientConfig |
WSClientConfig.setHTTPHeader(String sName,
String sValue)
Add an HTTP header to be send.
|
WSClientConfig |
WSClientConfig.setPassword(String sPassword)
Set the HTTP Basic Auth password to be used.
|
WSClientConfig |
WSClientConfig.setRequestTimeoutMS(int nRequestTimeoutMS)
Set the request timeout in milliseconds.
|
WSClientConfig |
WSClientConfig.setSOAPAction(String sSOAPAction)
Set the SOAP Action to be used.
|
WSClientConfig |
WSClientConfig.setSSLSocketFactory(SSLSocketFactory aSSLSocketFactory)
Change the
SSLSocketFactory to be used by this client. |
WSClientConfig |
WSClientConfig.setSSLSocketFactoryTrustAll()
Set the
SSLSocketFactory to be used by this client to one that
trusts all servers. |
WSClientConfig |
WSClientConfig.setUserName(String sUserName)
Set the HTTP Basic Auth user name to be used.
|
protected WSClientConfig |
WSClientConfig.setWorkAroundMASM0003(boolean bWorkAroundMASM0003) |
Copyright © 2014–2017 Philip Helger. All rights reserved.