Uses of Interface
org.spincast.core.routing.Handler
Packages that use Handler
Package
Description
-
Uses of Handler in org.spincast.core.controllers
Methods in org.spincast.core.controllers that return HandlerModifier and TypeMethodDescriptionSpincastFrontController.getDefaultNotFoundHandler()
Create the default Not Found handler -
Uses of Handler in org.spincast.core.routing
Methods in org.spincast.core.routing that return HandlerModifier 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.Methods in org.spincast.core.routing that return types with arguments of type HandlerModifier and TypeMethodDescriptionRoute.getAfterFilters()
The "after" filters, if any.Route.getBeforeFilters()
The "before" filters, if any.Methods in org.spincast.core.routing with parameters of type HandlerModifier 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
Classes in org.spincast.core.websocket that implement HandlerModifier 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.Methods in org.spincast.core.websocket that return HandlerModifier and TypeMethodDescriptionWebsocketRouteHandlerFactory.createWebsocketRouteHandler
(WebsocketRoute<R, W> websocketRoute) Methods in org.spincast.core.websocket that return types with arguments of type HandlerModifier and TypeMethodDescriptionWebsocketRoute.getBeforeFilters()
The "before" filters, if any.Methods in org.spincast.core.websocket with parameters of type Handler -
Uses of Handler in org.spincast.plugins.routing
Subinterfaces of Handler in org.spincast.plugins.routingMethods in org.spincast.plugins.routing that return HandlerModifier and TypeMethodDescriptionStaticResourceBuilderDefault.getGenerator()
StaticResourceDefault.getGenerator()
RouteHandlerMatchDefault.getHandler()
RouteBuilderDefault.getMainHandler()
RouteDefault.getMainHandler()
Methods in org.spincast.plugins.routing that return types with arguments of type HandlerModifier and TypeMethodDescriptionRouteBuilderDefault.getAfterFilters()
RouteDefault.getAfterFilters()
RouteBuilderDefault.getBeforeFilters()
RouteDefault.getBeforeFilters()
SpincastWebsocketRoute.getBeforeFilters()
WebsocketRouteBuilderDefault.getBeforeFilters()
SpincastRoutingPluginModule.getWebsocketRouteHandlerImplClass()
Methods in org.spincast.plugins.routing with parameters of type HandlerModifier 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
Method parameters in org.spincast.plugins.routing with type arguments of type HandlerModifier 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) Constructors in org.spincast.plugins.routing with parameters of type HandlerModifierConstructorDescriptionRouteDefault
(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) Constructor parameters in org.spincast.plugins.routing with type arguments of type HandlerModifierConstructorDescriptionRouteDefault
(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
Subinterfaces of Handler in org.spincast.quickstart.exchangeModifier 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
Fields in org.spincast.testing.core.utils declared as HandlerModifier and TypeFieldDescriptionstatic final Handler<DefaultRequestContext>
SpincastTestingUtils.dummyRouteHandler
-
Uses of Handler in org.spincast.website.exchange
Subinterfaces of Handler in org.spincast.website.exchange