public final class ProxyConfiguration extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ProxyConfiguration.Builder<TYPE>
Builder of proxy configurations.
|
static interface |
ProxyConfiguration.Configurable<TYPE>
Interface defining a configurable object.
|
| Modifier and Type | Field and Description |
|---|---|
static ProxyConfiguration |
DEFAULT_CONFIGURATION
Empty configuration constant.
The configuration has all the options set to their default. |
| Modifier and Type | Method and Description |
|---|---|
static ProxyConfiguration.Builder<ProxyConfiguration> |
builder()
Returns a proxy configuration builder.
|
ProxyConfiguration.Builder<ProxyConfiguration> |
builderFrom()
Returns a proxy configuration builder initialized with this configuration.
|
static ProxyConfiguration.Builder<ProxyConfiguration> |
builderFrom(ProxyConfiguration initialConfiguration)
Returns a proxy configuration builder initialized with the specified configuration.
|
boolean |
equals(Object o) |
List<String> |
getSharedFieldsOr(List<String> valueIfNotSet)
Returns the shared field names (null by default).
|
int |
hashCode() |
String |
toString() |
public static final ProxyConfiguration DEFAULT_CONFIGURATION
@NotNull public static ProxyConfiguration.Builder<ProxyConfiguration> builder()
@NotNull public static ProxyConfiguration.Builder<ProxyConfiguration> builderFrom(@Nullable ProxyConfiguration initialConfiguration)
initialConfiguration - the initial proxy configuration.@NotNull public ProxyConfiguration.Builder<ProxyConfiguration> builderFrom()
public List<String> getSharedFieldsOr(@Nullable List<String> valueIfNotSet)
valueIfNotSet - the default value if none was set.