@FunctionalInterface public interface PathMapper
Modifier and Type | Method and Description |
---|---|
default String |
getRootPath(EndpointId endpointId)
Resolve the root path for the endpoint with the specified
endpointId . |
String |
getRootPath(String endpointId)
Deprecated.
since 2.0.6 in favor of
getRootPath(EndpointId) |
static PathMapper |
useEndpointId()
Returns an
PathMapper that uses the endpoint ID as the path. |
default String getRootPath(EndpointId endpointId)
endpointId
.endpointId
- the id of an endpoint@Deprecated String getRootPath(String endpointId)
getRootPath(EndpointId)
endpointId
.endpointId
- the id of an endpointstatic PathMapper useEndpointId()
PathMapper
that uses the endpoint ID as the path.PathMapper
that uses the lowercase endpoint ID as the pathCopyright © 2018 Pivotal Software, Inc.. All rights reserved.