public enum ServiceEntryResolution extends Enum<ServiceEntryResolution>
| Enum Constant and Description |
|---|
DNS
Attempt to resolve the IP address by querying the ambient DNS, during request processing.
|
NONE
Assume that incoming connections have already been resolved (to a specific destination IP address).
|
STATIC
Use the static IP addresses specified in endpoints as the backing instances associated with the service.
|
| Modifier and Type | Method and Description |
|---|---|
int |
value() |
static ServiceEntryResolution |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServiceEntryResolution[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServiceEntryResolution NONE
public static final ServiceEntryResolution STATIC
public static final ServiceEntryResolution DNS
public static ServiceEntryResolution[] values()
for (ServiceEntryResolution c : ServiceEntryResolution.values()) System.out.println(c);
public static ServiceEntryResolution valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int value()
Copyright © 2017–2018 Red Hat. All rights reserved.