public.javadoc.org.spincast.core.routing.class-use.Route.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 Interface org.spincast.core.routing.Route (org.spincast:spincast-framework 1.13.0 API)
Uses of Interface
org.spincast.core.routing.Route
-
Packages that use Route
Package
Description
org.spincast.core.routing
org.spincast.plugins.openapi.bottomup
org.spincast.plugins.routing
-
-
Uses of Route in org.spincast.core.routing
Methods in org.spincast.core.routing that return Route
Modifier and Type
Method and Description
Route<R>
RouteBuilder.create(Handler<R> mainHandler)
Creates and returns the route without adding it to
the router.
Route<R>
Router.getRoute(String routeId)
Gets a route using its routeId
.
Route<R>
RouteHandlerMatch.getSourceRoute()
The route associated with this match.
Methods in org.spincast.core.routing that return types with arguments of type Route
Modifier and Type
Method and Description
List<Route<R>>
Router.getGlobalAfterFiltersRoutes()
Gets the global "after" filters.
List<Route<R>>
Router.getGlobalBeforeFiltersRoutes()
Gets the global "before" filters.
List<Route<R>>
Router.getMainRoutes()
Gets the main routes.
Methods in org.spincast.core.routing with parameters of type Route
Modifier and Type
Method and Description
void
Router.addRoute(Route<R> route)
Adds a route, directly.
-
Uses of Route in org.spincast.plugins.openapi.bottomup
Methods in org.spincast.plugins.openapi.bottomup with parameters of type Route
Modifier and Type
Method and Description
protected void
SpincastOpenApiManagerDefault.addConsumesAnnotationToHandlerMethod(List<Annotation> handlerMethodAnnotations,
Specs specs,
Route<R> route)
protected String
SpincastOpenApiManagerDefault.createOperationId(Route<R> route,
HttpMethod httpMethod)
protected boolean
SpincastOpenApiManagerDefault.isToHideFromHttpMethodAndPath(Route<R> route,
HttpMethod httpMethod)
protected boolean
SpincastOpenApiManagerDefault.isToHideFromId(Route<R> route)
-
Uses of Route in org.spincast.plugins.routing
Classes in org.spincast.plugins.routing that implement Route
Modifier and Type
Class and Description
class
RouteDefault<R extends RequestContext<?>>
Methods in org.spincast.plugins.routing that return Route
Modifier and Type
Method and Description
Route<R>
RouteBuilderDefault.create(Handler<R> mainHandler)
protected Route<R>
SpincastRouter.createHttpRouteFromWebsocketRoute(WebsocketRoute<R,W> websocketRoute)
Route<R>
RouteFactory.createRoute(String id,
boolean isWebsocketRoute,
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,
Object specs,
Object[] specsParameters,
boolean specsIgnore)
Route<R>
SpincastRouter.getRoute(String routeId)
Route<R>
RouteHandlerMatchDefault.getSourceRoute()
Methods in org.spincast.plugins.routing that return types with arguments of type Route
Modifier and Type
Method and Description
protected Map<Integer,List<Route<R>>>
SpincastRouter.getGlobalAfterFiltersPerPosition()
List<Route<R>>
SpincastRouter.getGlobalAfterFiltersRoutes()
protected Map<Integer,List<Route<R>>>
SpincastRouter.getGlobalBeforeFiltersPerPosition()
List<Route<R>>
SpincastRouter.getGlobalBeforeFiltersRoutes()
List<Route<R>>
SpincastRouter.getMainRoutes()
Methods in org.spincast.plugins.routing with parameters of type Route
Modifier and Type
Method and Description
void
SpincastRouter.addRoute(Route<R> route)
RouteHandlerMatch<R>
RouteHandlerMatchFactory.create(Route<R> sourceRoute,
Handler<R> routeHandler,
Map<String,String> params,
int position)
protected RouteHandlerMatch<R>
SpincastRouter.createNoMatchingParamsHandlerMatch(Route<R> route,
String id,
Handler<R> handler,
int position)
Creates an handler match with no matching params.
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.isMustSkipResourceRequest(Route<R> mainRoute,
Route<R> filterRoute)
protected boolean
SpincastRouter.isMustSkipResourceRequest(Route<R> mainRoute,
Route<R> filterRoute)
protected boolean
SpincastRouter.isRouteMatchAcceptedContentType(Route<R> route,
List<String> requestContentTypes)
protected boolean
SpincastRouter.isRouteMatchHttpMethod(Route<R> route,
HttpMethod httpMethod)
Validate if a route matches the given HTTP method.
protected boolean
SpincastRouter.isRoutingTypeMatch(RoutingType routingType,
Route<R> route)
Constructors in org.spincast.plugins.routing with parameters of type Route
Constructor and Description
RouteHandlerMatchDefault(Route<R> sourceRoute,
Handler<R> routeHandler,
Map<String,String> params,
int position)
Copyright © 2019. All rights reserved.