public class DynamicSegmentNamingStrategy extends Object implements SegmentNamingStrategy
| Modifier and Type | Field and Description |
|---|---|
private String |
fallbackName |
private String |
recognizedHosts |
NAME_OVERRIDE_KEY| Constructor and Description |
|---|
DynamicSegmentNamingStrategy(String fallbackName) |
DynamicSegmentNamingStrategy(String fallbackName,
String recognizedHosts) |
| Modifier and Type | Method and Description |
|---|---|
String |
nameForRequest(String host) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetOverrideNameprivate String recognizedHosts
private String fallbackName
public DynamicSegmentNamingStrategy(String fallbackName)
public String nameForRequest(String host)
nameForRequest in interface SegmentNamingStrategyCopyright © 2018. All rights reserved.