public.javadoc.org.spincast.plugins.routing.RouteHandlerMatch.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.
                
            
RouteHandlerMatch (org.spincast:spincast-framework 0.9.21 API) 
org.spincast.plugins.routing
Class RouteHandlerMatch<R extends IRequestContext<?>>
- java.lang.Object
 
- 
- org.spincast.plugins.routing.RouteHandlerMatch<R>
 
 
- 
- All Implemented Interfaces:
 
- IRouteHandlerMatch<R>
 
public class RouteHandlerMatch<R extends IRequestContext<?>>
extends Object
implements IRouteHandlerMatch<R>
 
- 
- 
Constructor Summary
Constructors  
Constructor and Description 
 
RouteHandlerMatch(IRoute<R> sourceRoute,
                 IHandler<R> routeHandler,
                 Map<String,String> params,
                 int position)  
 
 
- 
Method Summary
All Methods Instance Methods Concrete Methods  
Modifier and Type 
Method and Description 
 
IHandler<R> 
getHandler()
The route handler.
 
 
Map<String,String> 
getParameters()
The values parsed from the URL, given
 the dynamic parameters of the route's path, if any.
 
 
int 
getPosition()
The position the handler should be run at.
 
 
IRoute<R> 
getSourceRoute()
The route associated with this match.
 
 
String 
toString()  
 
 
 
- 
- 
Method Detail
- 
getSourceRoute
public IRoute<R> getSourceRoute()
Description copied from interface: IRouteHandlerMatch
The route associated with this match.
- Specified by:
 
getSourceRoute in interface IRouteHandlerMatch<R extends IRequestContext<?>> 
 
- 
getHandler
public IHandler<R> getHandler()
Description copied from interface: IRouteHandlerMatch
The route handler.
- Specified by:
 
getHandler in interface IRouteHandlerMatch<R extends IRequestContext<?>> 
 
- 
getParameters
public Map<String,String> getParameters()
Description copied from interface: IRouteHandlerMatch
The values parsed from the URL, given
 the dynamic parameters of the route's path, if any.
- Specified by:
 
getParameters in interface IRouteHandlerMatch<R extends IRequestContext<?>> 
 
- 
getPosition
public int getPosition()
Description copied from interface: IRouteHandlerMatch
The position the handler should be run at.
- Specified by:
 
getPosition in interface IRouteHandlerMatch<R extends IRequestContext<?>> 
 
 
 
Copyright © 2016. All rights reserved.
    © 2015 - 2025 Weber Informatics LLC | Privacy Policy