Package org.spincast.plugins.routing
Interface DefaultRouter
- All Superinterfaces:
Router<DefaultRequestContext,
DefaultWebsocketContext>
- All Known Implementing Classes:
DefaultRouterDefault
Unparameterized default router interface to easily use a router with the
default request context class.
It's easier to inject "DefaultRouter" than "Router<DefaultRequestContext, DefaultWebsocketContext>"
for a quick application.
-
Field Summary
Fields inherited from interface org.spincast.core.routing.Router
DEFAULT_ROUTE_PATH
-
Method Summary
Methods inherited from interface org.spincast.core.routing.Router
addRoute, addRouteParamPatternAlias, addStaticResource, addWebsocketRoute, ALL, ALL, cors, cors, cors, cors, cors, cors, cors, cors, cors, cors, cors, cors, cors, cors, DELETE, DELETE, dir, exception, exception, file, GET, GET, getGlobalAfterFiltersRoutes, getGlobalBeforeFiltersRoutes, getMainRoutes, getRoute, getRouteParamPatternAliases, HEAD, HEAD, httpAuth, methods, methods, methods, methods, notFound, notFound, OPTIONS, OPTIONS, PATCH, PATCH, POST, POST, PUT, PUT, redirect, removeAllRoutes, removeAllRoutes, removeRoute, route, route, TRACE, TRACE, websocket