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