public class RoutingResultDefault<R extends RequestContext<?>> extends Object implements RoutingResult<R>
| Constructor and Description |
|---|
RoutingResultDefault(List<RouteHandlerMatch<R>> routeHandlerMatches) |
| Modifier and Type | Method and Description |
|---|---|
RouteHandlerMatch<R> |
getMainRouteHandlerMatch()
The main route handler and its information, from the routing result.
|
List<RouteHandlerMatch<R>> |
getRouteHandlerMatches()
The handlers matching the route (a main handler + filters, if any),
in order they have to be called.
|
String |
toString() |
public RoutingResultDefault(List<RouteHandlerMatch<R>> routeHandlerMatches)
public List<RouteHandlerMatch<R>> getRouteHandlerMatches()
RoutingResultgetRouteHandlerMatches in interface RoutingResult<R extends RequestContext<?>>public RouteHandlerMatch<R> getMainRouteHandlerMatch()
RoutingResultgetMainRouteHandlerMatch in interface RoutingResult<R extends RequestContext<?>>Copyright © 2017. All rights reserved.