public final class ServiceNameMapper<V> extends Object
Modifier and Type | Field and Description |
---|---|
static Object |
ANY
The special marker which represents a pattern match.
|
Constructor and Description |
---|
ServiceNameMapper() |
Modifier and Type | Method and Description |
---|---|
V |
match(ServiceName serviceName)
Attempt to match a service name.
|
void |
registerMatcher(V value,
Object... segments)
Register a matcher for a specific location.
|
public static final Object ANY
public void registerMatcher(V value, Object... segments)
value
- the value to registersegments
- the segments to matchpublic V match(ServiceName serviceName)
serviceName
- the service namenull
if no match was foundCopyright © 2017 JBoss by Red Hat. All rights reserved.