java.lang.Object
org.spincast.plugins.routing.SpincastRoutingRequestContextAddon<R>
All Implemented Interfaces:
org.spincast.core.routing.RoutingRequestContextAddon<R>
public class SpincastRoutingRequestContextAddon<R extends org.spincast.core.exchange.RequestContext<R>>
extends Object
implements org.spincast.core.routing.RoutingRequestContextAddon<R>
Constructor Summary
Constructors
Method Summary
All Methods Instance Methods Concrete Methods
org.spincast.core.routing.RouteHandlerMatch<R >
protected org.spincast.core.routing.RouteHandlerMatch<R >
int
org.spincast.core.routing.RoutingResult<R >
boolean
boolean
boolean
Methods inherited from class java.lang.Object
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
Constructor Details
SpincastRoutingRequestContextAddon
@Inject
public SpincastRoutingRequestContextAddon (R requestContext)
Method Details
getRequestContext
protected R getRequestContext ()
getCurrentRouteMatch
protected org.spincast.core.routing.RouteHandlerMatch<R > getCurrentRouteMatch ()
getPosition
public int getPosition ()
Specified by:
getPosition in interface org.spincast.core.routing.RoutingRequestContextAddon<R extends org.spincast.core.exchange.RequestContext<R >>
getCurrentRouteHandlerMatch
public org.spincast.core.routing.RouteHandlerMatch<R > getCurrentRouteHandlerMatch ()
Specified by:
getCurrentRouteHandlerMatch in interface org.spincast.core.routing.RoutingRequestContextAddon<R extends org.spincast.core.exchange.RequestContext<R >>
getRoutingResult
public org.spincast.core.routing.RoutingResult<R > getRoutingResult ()
Specified by:
getRoutingResult in interface org.spincast.core.routing.RoutingRequestContextAddon<R extends org.spincast.core.exchange.RequestContext<R >>
isNotFoundRoute
public boolean isNotFoundRoute ()
Specified by:
isNotFoundRoute in interface org.spincast.core.routing.RoutingRequestContextAddon<R extends org.spincast.core.exchange.RequestContext<R >>
isExceptionRoute
public boolean isExceptionRoute ()
Specified by:
isExceptionRoute in interface org.spincast.core.routing.RoutingRequestContextAddon<R extends org.spincast.core.exchange.RequestContext<R >>
isForwarded
public boolean isForwarded ()
Specified by:
isForwarded in interface org.spincast.core.routing.RoutingRequestContextAddon<R extends org.spincast.core.exchange.RequestContext<R >>