public final class OutboundTarget extends Object
| Modifier and Type | Class | Description |
|---|---|---|
static class |
OutboundTarget.Builder |
Fluent API builder for
OutboundTarget. |
| Modifier and Type | Field | 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 | Description |
|---|---|---|
static OutboundTarget.Builder |
builder(String name) |
Builder for a single target.
|
boolean |
equals(Object o) |
|
Optional<Config> |
getConfig() |
|
<T> Optional<? extends T> |
getCustomObject(Class<? extends T> clazz) |
Allows a programmatic client to send custom security provider specific parameters to the provider.
|
Set<String> |
getHosts() |
|
String |
getName() |
|
Set<String> |
getTransports() |
|
int |
hashCode() |
|
String |
toString() |
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 getName()
public <T> Optional<? extends T> getCustomObject(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.