public static interface RouteBuilder.RouteParser
Modifier and Type | Method and Description |
---|---|
Route |
route(String routeString)
Parse a single textual route definition to a Route instance.
|
List<Route> |
routes(String... routeStrings)
Parse several textual route definitions.
|
List<Route> |
routes(String routesString)
Parse a textual definition of multiple routes, one per line.
|
List<Route> routes(String routesString)
routesString
- Routes as String
IllegalRouteException
- when one of the textual route definitions is invalid
List<Route> routes(String... routeStrings)
routeStrings
- textual route definitions
IllegalRouteException
- when the textual route definition is invalid
Route route(String routeString)
routeString
- a textual route definition
IllegalRouteException
- when the textual route definition is invalid