public class DefaultEndpointPathProvider extends Object implements EndpointPathProvider
EndpointPathProvider
implementation.Constructor and Description |
---|
DefaultEndpointPathProvider(EndpointProvider<WebEndpointOperation> provider,
WebEndpointProperties webEndpointProperties) |
Modifier and Type | Method and Description |
---|---|
String |
getPath(String id)
Return the path for the endpoint with the specified ID.
|
List<String> |
getPaths()
Return all mapped endpoint paths.
|
public DefaultEndpointPathProvider(EndpointProvider<WebEndpointOperation> provider, WebEndpointProperties webEndpointProperties)
public List<String> getPaths()
EndpointPathProvider
getPaths
in interface EndpointPathProvider
public String getPath(String id)
EndpointPathProvider
getPath
in interface EndpointPathProvider
id
- the endpoint IDnull
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.