@Singleton
public class KeyFormatter
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_REPLACEMENT |
Constructor and Description |
---|
KeyFormatter(EurekaClientConfig eurekaClientConfig) |
KeyFormatter(java.lang.String replacement) |
Modifier and Type | Method and Description |
---|---|
static KeyFormatter |
defaultKeyFormatter() |
java.lang.String |
formatKey(java.lang.String keyTemplate) |
public static final java.lang.String DEFAULT_REPLACEMENT
public KeyFormatter(java.lang.String replacement)
@Inject public KeyFormatter(EurekaClientConfig eurekaClientConfig)
public java.lang.String formatKey(java.lang.String keyTemplate)
public static KeyFormatter defaultKeyFormatter()