Uses of Interface
org.spincast.core.routing.Handler
Package
Description
-
Uses of Handler in org.spincast.core.controllers
Modifier and TypeMethodDescriptionSpincastFrontController.getDefaultNotFoundHandler()
Create the default Not Found handler -
Uses of Handler in org.spincast.core.routing
Modifier and TypeMethodDescriptionStaticResource.getGenerator()
The generator to call to generate this resource if it doesn't exist yet.RouteHandlerMatch.getHandler()
The route handler.Route.getMainHandler()
The main handler.Modifier and TypeMethodDescriptionRoute.getAfterFilters()
The "after" filters, if any.Route.getBeforeFilters()
The "before" filters, if any.Modifier and TypeMethodDescriptionAdds an "after" filter which will only be applied to this particular route.Adds a "before" filter which will only be applied to this particular route.Creates and returns the route without adding it to the router.StaticResourceFactory.create
(boolean isSpicastOrPluginAddedResource, StaticResourceType staticResourceType, String url, String path, Handler<R> generator, StaticResourceCorsConfig corsConfig, StaticResourceCacheConfig cacheConfig, boolean ignoreQueryString, boolean hotlinkingProtected, HotlinkingManager hotlinkingManager) void
Creates a route considered during an "Exception" routing process.void
Creates a route considered during an "Exception" routing process.void
Creates the route and saves it to the router.void
Saves the static resource route.void
Saves the static resource route.void
Creates a route considered during an "Not Found" routing process.void
Creates a route considered during an "Not Found" routing process. -
Uses of Handler in org.spincast.core.websocket
Modifier and TypeClassDescriptionclass
WebsocketRouteHandler<R extends RequestContext<?>,
W extends WebsocketContext<?>> Route handler that manages the upgrade from a HTTP request to a WebSocket connection, once the potential "before" filters have been ran.Modifier and TypeMethodDescriptionWebsocketRouteHandlerFactory.createWebsocketRouteHandler
(WebsocketRoute<R, W> websocketRoute) Modifier and TypeMethodDescriptionWebsocketRoute.getBeforeFilters()
The "before" filters, if any. -
Uses of Handler in org.spincast.plugins.routing
Modifier and TypeMethodDescriptionStaticResourceBuilderDefault.getGenerator()
StaticResourceDefault.getGenerator()
RouteHandlerMatchDefault.getHandler()
RouteBuilderDefault.getMainHandler()
RouteDefault.getMainHandler()
Modifier and TypeMethodDescriptionRouteBuilderDefault.getAfterFilters()
RouteDefault.getAfterFilters()
RouteBuilderDefault.getBeforeFilters()
RouteDefault.getBeforeFilters()
SpincastWebsocketRoute.getBeforeFilters()
WebsocketRouteBuilderDefault.getBeforeFilters()
SpincastRoutingPluginModule.getWebsocketRouteHandlerImplClass()
Modifier and TypeMethodDescriptionprotected void
RedirectRuleBuilderDefault.addRedirectHandler
(Handler<R> handler) RouteHandlerMatchFactory.create
(Route<R> sourceRoute, Handler<R> routeHandler, Map<String, String> params, int position) protected RouteHandlerMatch<R>
SpincastRouter.createHandlerMatchForBeforeOrAfterFilter
(RouteHandlerMatch<R> mainRouteHandlerMatch, Handler<R> beforeOrAfterMethod, int position) Creates a new match for a "before" or "after" handler specific to a route.protected RouteHandlerMatch<R>
SpincastRouter.createNoMatchingParamsHandlerMatch
(Route<R> route, String id, Handler<R> handler, int position) Creates an handler match with no matching params.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) void
void
void
void
void
void
void
Modifier and TypeMethodDescriptionRouteFactory.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) WebsocketRouteFactory.createRoute
(boolean isSpicastCoreRouteOrPluginRoute, String id, String path, List<Handler<R>> beforeFilters, Set<String> filterIdsToSkip, WebsocketController<R, W> websocketController, Set<String> classes) ModifierConstructorDescriptionRouteDefault
(String id, boolean isWebsocketRoute, 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, Object specs, Object[] specsParameters, boolean specsIgnore, Set<String> classes) ConstructorRouteHandlerMatchDefault
(Route<R> sourceRoute, Handler<R> routeHandler, Map<String, String> params, int position) StaticResourceDefault
(boolean isSpicastOrPluginAddedResource, StaticResourceType staticResourceType, String urlPath, String resourcePath, Handler<R> generator, StaticResourceCorsConfig corsConfig, StaticResourceCacheConfig cacheConfig, boolean ignoreQueryString, boolean hotlinkingProtected, HotlinkingManager hotlinkingManager, SpincastUtils spincastUtils, HotlinkingManagerDefault hotlinkingManagerDefault) ModifierConstructorDescriptionRouteDefault
(String id, boolean isWebsocketRoute, 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, Object specs, Object[] specsParameters, boolean specsIgnore, Set<String> classes) ConstructorSpincastWebsocketRoute
(boolean spicastCoreRouteOrPluginRoute, String id, String path, List<Handler<R>> beforeFilters, Set<String> filterIdsToSkip, WebsocketController<R, W> websocketController, Set<String> classes) Constructor -
Uses of Handler in org.spincast.quickstart.exchange
Modifier and TypeInterfaceDescriptioninterface
The only purpose of this interface is to make it easier to declare a Route Handler as "AppHandler" instead of "Handler<AppRequestContext>". -
Uses of Handler in org.spincast.testing.core.utils
Modifier and TypeFieldDescriptionstatic final Handler<DefaultRequestContext>
SpincastTestingUtils.dummyRouteHandler
-
Uses of Handler in org.spincast.website.exchange