public.javadoc.org.spincast.plugins.routing.DefaultRouter.html Maven / Gradle / Ivy
                 Go to download
                
        
                    Show more of this group  Show more artifacts with this name
Show all versions of spincast-website Show documentation
                Show all versions of spincast-website Show documentation
Source code for the https://www.spincast.org website.
                
            
DefaultRouter (org.spincast:spincast-framework 0.9.21 API) 
org.spincast.plugins.routing
Class DefaultRouter
- java.lang.Object
 
- 
- org.spincast.plugins.routing.SpincastRouter<IDefaultRequestContext,IDefaultWebsocketContext>
 
- 
- org.spincast.plugins.routing.DefaultRouter
 
 
 
- 
- All Implemented Interfaces:
 
- IRouter<IDefaultRequestContext,IDefaultWebsocketContext>, IDefaultRouter
 
public class DefaultRouter
extends SpincastRouter<IDefaultRequestContext,IDefaultWebsocketContext>
implements IDefaultRouter
An implementaiton of the IDefaultRouter interface, for easy
 usage of the default version of the router.
 
- 
- 
Field Summary
- 
Fields inherited from class org.spincast.plugins.routing.SpincastRouter
logger 
- 
Fields inherited from interface org.spincast.core.routing.IRouter
DEFAULT_ROUTE_PATH 
 
- 
Constructor Summary
Constructors  
Constructor and Description 
 
DefaultRouter(ISpincastRouterConfig spincastRouterConfig,
             IRouteFactory<IDefaultRequestContext> routeFactory,
             ISpincastConfig spincastConfig,
             ISpincastDictionary spincastDictionary,
             IServer server,
             ISpincastFilters<IDefaultRequestContext> spincastFilters,
             IRouteBuilderFactory<IDefaultRequestContext,IDefaultWebsocketContext> routeBuilderFactory,
             IStaticResourceBuilderFactory<IDefaultRequestContext,IDefaultWebsocketContext> staticResourceBuilderFactory,
             IRouteHandlerMatchFactory<IDefaultRequestContext> routeHandlerMatchFactory,
             IStaticResourceFactory<IDefaultRequestContext> staticResourceFactory,
             IWebsocketRouteBuilderFactory<IDefaultRequestContext,IDefaultWebsocketContext> websocketRouteBuilderFactory,
             IWebsocketRouteHandlerFactory<IDefaultRequestContext,IDefaultWebsocketContext> websocketHandshakerFactory)  
 
 
- 
Method Summary
- 
Methods inherited from class org.spincast.plugins.routing.SpincastRouter
addFilterDefaultRoutingTypes, addRoute, addRouteParamPatternAlias, addStaticResource, addWebsocketRoute, after, after, ALL, before, before, beforeAndAfter, beforeAndAfter, cors, cors, cors, cors, cors, cors, cors, cors, cors, cors, cors, cors, cors, cors, createHandlerMatchForBeforeOrAfterFilter, createHttpRouteFromWebsocketRoute, createNoMatchingParamsHandlerMatch, createRegularHandlerMatches, createRoutingResult, DELETE, dir, exception, exception, file, GET, getGlobalAfterFiltersPerPosition, getGlobalAfterFiltersRoutes, getGlobalBeforeFiltersPerPosition, getGlobalBeforeFiltersRoutes, getMainRoutes, getPattern, getPatternFromAlias, getRoute, getRouteBuilderFactory, getRouteFactory, getRouteHandlerMatchFactory, getRouteParamPatternAliases, getServer, getSpincastConfig, getSpincastDictionary, getSpincastFilters, getSpincastRouterConfig, getStaticResourceBuilderFactory, getStaticResourceFactory, getWebsocketRouteBuilderFactory, getWebsocketRouteHandlerFactory, HEAD, httpAuth, init, isRouteMatchAcceptedContentType, isRouteMatchHttpMethod, isRoutingTypeMatch, notFound, notFound, OPTIONS, PATCH, POST, PUT, removeAllRoutes, removeRoute, route, route, route, SOME, SOME, 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.IRouter
addRoute, addRouteParamPatternAlias, addStaticResource, addWebsocketRoute, after, after, ALL, before, before, beforeAndAfter, beforeAndAfter, cors, cors, cors, cors, cors, cors, cors, cors, cors, cors, cors, cors, cors, cors, DELETE, dir, exception, exception, file, GET, getGlobalAfterFiltersRoutes, getGlobalBeforeFiltersRoutes, getMainRoutes, getRoute, getRouteParamPatternAliases, HEAD, httpAuth, notFound, notFound, OPTIONS, PATCH, POST, PUT, removeAllRoutes, removeRoute, route, route, SOME, SOME, TRACE, websocket 
 
 
- 
- 
Constructor Detail
- 
DefaultRouter
@Inject
public DefaultRouter(ISpincastRouterConfig spincastRouterConfig,
                              IRouteFactory<IDefaultRequestContext> routeFactory,
                              ISpincastConfig spincastConfig,
                              ISpincastDictionary spincastDictionary,
                              IServer server,
                              ISpincastFilters<IDefaultRequestContext> spincastFilters,
                              IRouteBuilderFactory<IDefaultRequestContext,IDefaultWebsocketContext> routeBuilderFactory,
                              IStaticResourceBuilderFactory<IDefaultRequestContext,IDefaultWebsocketContext> staticResourceBuilderFactory,
                              IRouteHandlerMatchFactory<IDefaultRequestContext> routeHandlerMatchFactory,
                              IStaticResourceFactory<IDefaultRequestContext> staticResourceFactory,
                              IWebsocketRouteBuilderFactory<IDefaultRequestContext,IDefaultWebsocketContext> websocketRouteBuilderFactory,
                              IWebsocketRouteHandlerFactory<IDefaultRequestContext,IDefaultWebsocketContext> websocketHandshakerFactory)
 
 
 
Copyright © 2016. All rights reserved.
    © 2015 - 2025 Weber Informatics LLC | Privacy Policy