public class QetchClientBuilderImpl extends Object implements QetchClient.Builder
| Constructor and Description |
|---|
QetchClientBuilderImpl() |
| Modifier and Type | Method and Description |
|---|---|
QetchClient |
build() |
QetchClient.Builder |
disableServiceLookup() |
String |
getKeyPassword() |
KeyStore |
getKeyStore() |
List<URI> |
getServiceUris() |
KeyStore |
getTrustStore() |
boolean |
isServiceLookupDisabled() |
QetchClient.Builder |
keyStore(KeyStore keyStore,
String keyPassword) |
QetchClient.Builder |
serviceAddresses(String... serviceAddresses) |
QetchClient.Builder |
trustStore(KeyStore trustStore) |
QetchClient.Builder |
withServiceAddress(String serviceAddress) |
QetchClient.Builder |
withServiceAddress(String host,
int port) |
public QetchClient.Builder serviceAddresses(String... serviceAddresses)
serviceAddresses in interface QetchClient.Builderpublic QetchClient.Builder withServiceAddress(String serviceAddress)
withServiceAddress in interface QetchClient.Builderpublic QetchClient.Builder withServiceAddress(String host, int port)
withServiceAddress in interface QetchClient.Builderpublic QetchClient.Builder disableServiceLookup()
disableServiceLookup in interface QetchClient.Builderpublic boolean isServiceLookupDisabled()
public QetchClient.Builder trustStore(KeyStore trustStore)
trustStore in interface QetchClient.Builderpublic KeyStore getTrustStore()
public QetchClient.Builder keyStore(KeyStore keyStore, String keyPassword)
keyStore in interface QetchClient.Builderpublic KeyStore getKeyStore()
public String getKeyPassword()
public QetchClient build()
build in interface QetchClient.BuilderCopyright © 2013–2019 mklinger GmbH. All rights reserved.