public.javadoc.org.spincast.plugins.routing.RoutingResultDefault.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spincast-website Show documentation
Show all versions of spincast-website Show documentation
Source code for the https://www.spincast.org website.
RoutingResultDefault (org.spincast:spincast-framework 1.14.0 API)
org.spincast.plugins.routing
Class RoutingResultDefault<R extends RequestContext<?>>
- java.lang.Object
-
- org.spincast.plugins.routing.RoutingResultDefault<R>
-
- All Implemented Interfaces:
- RoutingResult<R>
public class RoutingResultDefault<R extends RequestContext<?>>
extends Object
implements RoutingResult<R>
-
-
Constructor Summary
Constructors
Constructor and Description
RoutingResultDefault(List<RouteHandlerMatch<R>> routeHandlerMatches)
-
Method Summary
All Methods Instance Methods Concrete Methods
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()
-
-
Constructor Detail
-
RoutingResultDefault
public RoutingResultDefault(List<RouteHandlerMatch<R>> routeHandlerMatches)
-
Method Detail
-
getRouteHandlerMatches
public List<RouteHandlerMatch<R>> getRouteHandlerMatches()
Description copied from interface: RoutingResult
The handlers matching the route (a main handler + filters, if any),
in order they have to be called.
- Specified by:
getRouteHandlerMatches
in interface RoutingResult<R extends RequestContext<?>>
-
getMainRouteHandlerMatch
public RouteHandlerMatch<R> getMainRouteHandlerMatch()
Description copied from interface: RoutingResult
The main route handler and its information, from the routing result.
- Specified by:
getMainRouteHandlerMatch
in interface RoutingResult<R extends RequestContext<?>>
Copyright © 2019. All rights reserved.