public final class OutboundTarget extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
OutboundTarget.Builder
Fluent API builder for
OutboundTarget. |
| Modifier and Type | Field and Description |
|---|---|
static String |
CONFIG_HOSTS
Configuration key for string array of hosts.
|
static String |
CONFIG_NAME
Configuration key for name of target.
|
static String |
CONFIG_PATHS
Configuration key for string array of paths.
|
static String |
CONFIG_TRANSPORTS
Configuration key for string array of supported transports.
|
| Modifier and Type | Method and Description |
|---|---|
static OutboundTarget.Builder |
builder(String name)
Builder for a single target.
|
<T> Optional<? extends T> |
customObject(Class<? extends T> clazz)
Allows a programmatic client to send custom security provider specific parameters to the provider.
|
boolean |
equals(Object o) |
Optional<Config> |
getConfig()
Configuration of this target.
|
int |
hashCode() |
Set<String> |
hosts()
Hosts of this target.
|
String |
name()
Name of this target.
|
String |
toString() |
Set<String> |
transports()
Transports of this target.
|
public static final String CONFIG_NAME
public static final String CONFIG_TRANSPORTS
public static final String CONFIG_HOSTS
public static final String CONFIG_PATHS
public static OutboundTarget.Builder builder(String name)
name - name of the target (if set to "default", all defaults from provider will be ignored)public String name()
public Set<String> transports()
public Optional<Config> getConfig()
public <T> Optional<? extends T> customObject(Class<? extends T> clazz)
T - Type of the provider specific objectclazz - Class we want to getOutboundTarget.Builder.customObject(Class, Object)Copyright © 2018, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.