@FunctionalInterface
public interface PathMapper
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getRootPath(EndpointId endpointId)
Resolve the root path for the specified
endpointId. |
static java.lang.String |
getRootPath(java.util.List<PathMapper> pathMappers,
EndpointId endpointId)
Resolve the root path for the specified
endpointId from the given path
mappers. |
java.lang.String getRootPath(EndpointId endpointId)
endpointId.endpointId - the id of an endpointnull if this mapper doesn't support the
given endpoint IDstatic java.lang.String getRootPath(java.util.List<PathMapper> pathMappers, EndpointId endpointId)
endpointId from the given path
mappers. If no mapper matches then the ID itself is returned.pathMappers - the path mappers (may be null)endpointId - the id of an endpoint