Package org.spincast.quickstart.exchange
Class AppRouterDefault
java.lang.Object
org.spincast.plugins.routing.SpincastRouter<AppRequestContext,AppWebsocketContext>
org.spincast.quickstart.exchange.AppRouterDefault
- All Implemented Interfaces:
Router<AppRequestContext,
,AppWebsocketContext> AppRouter
public class AppRouterDefault
extends SpincastRouter<AppRequestContext,AppWebsocketContext>
implements AppRouter
The only purpose of this class is to make it
easier to inject the application specific Router by using
"AppRouter" instead of "Router<AppRequestContext, AppWebsocketContext>".
-
Field Summary
Fields inherited from class org.spincast.plugins.routing.SpincastRouter
logger
Fields inherited from interface org.spincast.core.routing.Router
DEFAULT_ROUTE_PATH
-
Constructor Summary
ConstructorDescriptionAppRouterDefault
(SpincastRouterDeps<AppRequestContext, AppWebsocketContext> spincastRouterDeps) -
Method Summary
Methods inherited from class org.spincast.plugins.routing.SpincastRouter
addDefaultFilters, addRoute, addRouteParamPatternAlias, addStaticResource, addWebsocketRoute, ALL, ALL, cors, cors, cors, cors, cors, cors, cors, cors, cors, cors, cors, cors, cors, cors, createHandlerMatchForBeforeOrAfterFilter, createHttpRouteFromWebsocketRoute, createNoMatchingParamsHandlerMatch, createRegularHandlerMatches, createRoutingResult, DELETE, DELETE, dir, exception, exception, file, GET, GET, getDictionary, getGlobalAfterFiltersPerPosition, getGlobalAfterFiltersRoutes, getGlobalBeforeFiltersPerPosition, getGlobalBeforeFiltersRoutes, getLocaleResolver, getMainRoutes, getPattern, getPatternFromAlias, getPatternFromDictionaryKey, getRedirectRuleBuilderFactory, getRoute, getRouteBuilderFactory, getRouteFactory, getRouteHandlerMatchFactory, getRouteParamPatternAliases, getRouteParamPatternFromDictionaryKeyCache, getServer, getSpincastConfig, getSpincastFilters, getSpincastRouterConfig, getSpincastRoutingUtils, getStaticResourceBuilderFactory, getStaticResourceFactory, getWebsocketRouteBuilderFactory, getWebsocketRouteHandlerFactory, HEAD, HEAD, httpAuth, init, isCreateStaticResourceOnDisk, isMustSkipResourceRequest, isRouteMatchAcceptedContentType, isRouteMatchHttpMethod, isRoutingTypeMatch, methods, methods, methods, methods, notFound, notFound, OPTIONS, OPTIONS, PATCH, PATCH, POST, POST, PUT, PUT, redirect, removeAllRoutes, removeAllRoutes, removeRoute, route, route, route, startsWithAnyOf, TRACE, TRACE, validateId, validatePath, validatePath, validation, websocket
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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
-
Constructor Details
-
AppRouterDefault
@Inject public AppRouterDefault(SpincastRouterDeps<AppRequestContext, AppWebsocketContext> spincastRouterDeps)
-