public.javadoc.org.spincast.core.routing.class-use.RoutingType.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.
Uses of Class org.spincast.core.routing.RoutingType (org.spincast:spincast-framework 1.0.0 API)
Uses of Class
org.spincast.core.routing.RoutingType
-
Packages that use RoutingType
Package
Description
org.spincast.core.routing
org.spincast.plugins.routing
-
-
Uses of RoutingType in org.spincast.core.routing
Methods in org.spincast.core.routing that return RoutingType
Modifier and Type
Method and Description
static RoutingType
RoutingType.valueOf(String name)
Returns the enum constant of this type with the specified name.
static RoutingType[]
RoutingType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
Methods in org.spincast.core.routing that return types with arguments of type RoutingType
Modifier and Type
Method and Description
Set<RoutingType>
Route.getRoutingTypes()
The routing types
the route should be considered for.
Methods in org.spincast.core.routing with parameters of type RoutingType
Modifier and Type
Method and Description
RoutingResult<R>
Router.route(R requestContext,
RoutingType routingType)
Find the route to use to handle the current request, given the
specified routing type.
-
Uses of RoutingType in org.spincast.plugins.routing
Methods in org.spincast.plugins.routing that return types with arguments of type RoutingType
Modifier and Type
Method and Description
Set<RoutingType>
SpincastRouterConfigDefault.getFilterDefaultRoutingTypes()
Set<RoutingType>
SpincastRouterConfig.getFilterDefaultRoutingTypes()
The routing types to apply a filter (none "0" position)
when none is explicitly specified.
Set<RoutingType>
RouteDefault.getRoutingTypes()
Set<RoutingType>
RouteBuilderDefault.getRoutingTypes()
Methods in org.spincast.plugins.routing with parameters of type RoutingType
Modifier and Type
Method and Description
protected List<RouteHandlerMatch<R>>
SpincastRouter.createRegularHandlerMatches(RoutingType routingType,
Route<R> route,
HttpMethod httpMethod,
List<String> acceptedContentTypes,
URL url,
int position)
Get the matches (filters and main handle) if the route matches the URL and
HTTP method, or returns NULL otherwise.
protected boolean
SpincastRouter.isRoutingTypeMatch(RoutingType routingType,
Route<R> route)
RoutingResult<R>
SpincastRouter.route(R requestContext,
RoutingType routingType)
RoutingResult<R>
SpincastRouter.route(R requestContext,
String fullUrl,
RoutingType routingType)
Method parameters in org.spincast.plugins.routing with type arguments of type RoutingType
Modifier and Type
Method and Description
Route<R>
RouteFactory.createRoute(String id,
boolean isResourceRoute,
StaticResource<R> staticResource,
boolean isSpicastCoreRouteOrPluginRoute,
Set<HttpMethod> httpMethods,
String path,
Set<RoutingType> routingTypes,
List<Handler<R>> beforeFilters,
Handler<R> mainHandler,
List<Handler<R>> afterFilters,
int position,
Set<String> acceptedContentTypes,
Set<String> filterIdsToSkip,
boolean skipResources)
Constructor parameters in org.spincast.plugins.routing with type arguments of type RoutingType
Constructor and Description
RouteDefault(String id,
boolean isResourceRoute,
StaticResource<R> staticResource,
boolean spicastCoreRouteOrPluginRoute,
Set<HttpMethod> httpMethods,
String path,
Set<RoutingType> routingTypes,
List<Handler<R>> beforeFilters,
Handler<R> mainHandler,
List<Handler<R>> afterFilters,
int position,
Set<String> acceptedContentTypes,
Set<String> filterIdsToSkip,
boolean skipResources)
Constructor
Copyright © 2019. All rights reserved.