Class SpincastRoutingRequestContextAddon<R extends org.spincast.core.exchange.RequestContext<R>>

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 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>>