public static class SenderClient.Builder extends Object
| Constructor and Description |
|---|
SenderClient.Builder(String rootServerURL) |
| Modifier and Type | Method and Description |
|---|---|
SenderClient |
build()
Build the
SenderClient. |
SenderClient.Builder |
customTrustStore(String trustStorePath,
String trustStoreType,
String trustStorePassword)
Set a custom trustStore.
|
SenderClient.Builder |
proxy(String proxyHost,
int proxyPort)
Specify proxy that should be used to connect.
|
SenderClient.Builder |
proxyPassword(String proxyPassword)
Sets password used with specified user.
|
SenderClient.Builder |
proxyType(Proxy.Type proxyType)
Configure type of proxy.
|
SenderClient.Builder |
proxyUser(String proxyUser)
If proxy needs authentication, specify User.
|
public SenderClient.Builder(String rootServerURL)
public SenderClient.Builder customTrustStore(String trustStorePath, String trustStoreType, String trustStorePassword)
trustStorePath - The trustStore file path.trustStoreType - The trustStore type. If null the default type iss used.trustStorePassword - The trustStore password.SenderClient.Builder instancepublic SenderClient.Builder proxy(String proxyHost, int proxyPort)
proxyHost - Hostname of proxy.proxyPort - Port of proxy.SenderClient.Builder instancepublic SenderClient.Builder proxyUser(String proxyUser)
proxyUser - Username for authentication.SenderClient.Builder instancepublic SenderClient.Builder proxyPassword(String proxyPassword)
proxyPassword - Password for user authentication.SenderClient.Builder instancepublic SenderClient.Builder proxyType(Proxy.Type proxyType)
proxyType - Type of proxy asSenderClient.Builder instancepublic SenderClient build()
SenderClient.SenderClientCopyright © 2014 JBoss by Red Hat. All Rights Reserved.