public interface RouteRepository
| Modifier and Type | Method and Description |
|---|---|
void |
addRoute(String urlPattern,
Route route)
Adds a route for the given url pattern.
|
Set<String> |
getCollections(String parentUri)
Returns a set with collections (routes) contained in the
given parent.
|
Route |
getRoute(String url)
Returns the route which is foreseen
for the given url.
|
Map<String,Route> |
getRoutes()
Returns a copy of all routes.
|
void |
removeRoute(String urlPattern)
Removes the route for the url pattern.
|
void addRoute(String urlPattern, Route route)
urlPattern - - is used as a key.route - routevoid removeRoute(String urlPattern)
urlPattern - urlPatternRoute getRoute(String url)
url - urlSet<String> getCollections(String parentUri)
parentUri - the parent of which the routes should be listedCopyright © 2016–2018. All rights reserved.