public class LocalhostLocationResolver extends AbstractLocationResolver
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
LOCALHOST |
static ConfigKey<java.lang.Boolean> |
LOCALHOST_ENABLED |
log
Constructor and Description |
---|
LocalhostLocationResolver() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getPrefix()
the prefix that this resolver will attend to
|
boolean |
isEnabled()
whether the location is enabled
|
accepts, init, newLocationSpecFromString
public static ConfigKey<java.lang.Boolean> LOCALHOST_ENABLED
public static final java.lang.String LOCALHOST
public java.lang.String getPrefix()
LocationResolver
public boolean isEnabled()
LocationResolver
isEnabled
in interface LocationResolver
isEnabled
in class AbstractLocationResolver