Deprecated
Use DomainWildcardMappingBuilder instead.
DomainNameMapping instances.
| Modifier and Type | Field and Description |
|---|---|
| private final DomainNameMappingBuilder | builder
Deprecated
as a consequence of
DomainNameMappingBuilder being deprecated.
|
| Access | Constructor and Description |
|---|---|
| public | DomainMappingBuilder(V
the default value for defaultValue)DomainNameMapping#map(String) to return
when nothing matches the inputConstructor with default initial capacity of the map holding the mappings |
| public | DomainMappingBuilder(int
initial capacity for the internal map initialCapacity, V the default value for defaultValue)DomainNameMapping#map(String) to return
when nothing matches the inputConstructor with initial capacity of the map holding the mappings |
| Modifier and Type | Method and Description |
|---|---|
| public DomainMappingBuilder | add(String
the host name (optionally wildcard) hostname, V the output value that will be returned by output)DomainNameMapping#map(String)
when the specified host name matches the specified input host name
Deprecated
as a consequence of
Adds a mapping that maps the specified (optionally wildcard) host name to the specified output value.
DomainMappingBuilder being deprecated.
|
| public DomainNameMapping | Returns: newDomainNameMapping instance
Deprecated
as a consequence of
Creates a new instance of immutable DomainNameMapping being deprecated.
DomainNameMapping
Attempts to add new mappings to the result object will cause UnsupportedOperationException to be thrown
|
| builder | back to summary |
|---|---|
| private final DomainNameMappingBuilder<V> builder
Deprecated as a consequence of | |
| DomainMappingBuilder | back to summary |
|---|---|
| public DomainMappingBuilder(V defaultValue) Constructor with default initial capacity of the map holding the mappings
| |
| DomainMappingBuilder | back to summary |
|---|---|
| public DomainMappingBuilder(int initialCapacity, V defaultValue) Constructor with initial capacity of the map holding the mappings
| |
| add | back to summary |
|---|---|
| public DomainMappingBuilder Deprecated as a consequence of Adds a mapping that maps the specified (optionally wildcard) host name to the specified output value. Null values are forbidden for both hostnames and values.
DNS wildcard is supported as hostname.
For example, you can use
| |
| build | back to summary |
|---|---|
| public DomainNameMapping Deprecated as a consequence of Creates a new instance of immutable
| |