Interface ClientConfiguration.ClientConfigurationBuilderWithRequiredEndpoint
- Enclosing interface:
- ClientConfiguration
public static interface ClientConfiguration.ClientConfigurationBuilderWithRequiredEndpoint
- Author:
- Christoph Strobl
-
Method Summary
Modifier and TypeMethodDescriptionconnectedTo
(String hostAndPort) connectedTo
(String... hostAndPorts) connectedTo
(InetSocketAddress endpoint) connectedTo
(InetSocketAddress... endpoints) Obviously for testing.
-
Method Details
-
connectedTo
- Parameters:
hostAndPort
- the host and port formatted as String host:port.- Returns:
- the
ClientConfiguration.MaybeSecureClientConfigurationBuilder
.
-
connectedTo
- Parameters:
hostAndPorts
- the list of host and port combinations formatted as String host:port.- Returns:
- the
ClientConfiguration.MaybeSecureClientConfigurationBuilder
.
-
connectedTo
default ClientConfiguration.MaybeSecureClientConfigurationBuilder connectedTo(InetSocketAddress endpoint) - Parameters:
endpoint
- the host and port.- Returns:
- the
ClientConfiguration.MaybeSecureClientConfigurationBuilder
.
-
connectedTo
ClientConfiguration.MaybeSecureClientConfigurationBuilder connectedTo(InetSocketAddress... endpoints) - Parameters:
endpoints
- the list of host and port combinations.- Returns:
- the
ClientConfiguration.MaybeSecureClientConfigurationBuilder
.
-
connectedToLocalhost
Obviously for testing.
-