Uses of Interface
org.spincast.core.routing.Route
Package
Description
-
Uses of Route in org.spincast.core.routing
Modifier and TypeMethodDescriptionCreates and returns the route without adding it to the router.Gets a route using itsrouteId
.RouteHandlerMatch.getSourceRoute()
The route associated with this match.Modifier and TypeMethodDescriptionRouter.getGlobalAfterFiltersRoutes()
Gets the global "after" filters.Router.getGlobalBeforeFiltersRoutes()
Gets the global "before" filters.Router.getMainRoutes()
Gets the main routes. -
Uses of Route in org.spincast.plugins.openapi.bottomup
Modifier and TypeMethodDescriptionprotected 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
Modifier and TypeMethodDescriptionSpincastRouter.createHttpRouteFromWebsocketRoute
(WebsocketRoute<R, W> websocketRoute) 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, Set<String> classes) RouteHandlerMatchDefault.getSourceRoute()
Modifier and TypeMethodDescriptionSpincastRouter.getGlobalAfterFiltersPerPosition()
SpincastRouter.getGlobalAfterFiltersRoutes()
SpincastRouter.getGlobalBeforeFiltersPerPosition()
SpincastRouter.getGlobalBeforeFiltersRoutes()
SpincastRouter.getMainRoutes()
Modifier and TypeMethodDescriptionvoid
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.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)