| Package | Description |
|---|---|
| org.spincast.core.controllers | |
| org.spincast.core.routing | |
| org.spincast.core.websocket | |
| org.spincast.plugins.routing | |
| org.spincast.testing.core |
| Modifier and Type | Method and Description |
|---|---|
protected IRouter<R,W> |
SpincastFrontController.getRouter() |
| Constructor and Description |
|---|
SpincastFrontController(IRouter<R,W> router,
ISpincastConfig spincastConfig,
ISpincastDictionary spincastDictionary,
IServer server,
IRequestContextFactory<R> requestCreationFactory,
SpincastRequestScope spincastRequestScope,
Type requestContextType)
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
DefaultRouteParamAliasesBinder.bindAlphaAlias(boolean insensitive,
IRouter<R,W> router) |
protected void |
DefaultRouteParamAliasesBinder.bindAlphaNumericAlias(boolean insensitive,
IRouter<R,W> router) |
protected void |
DefaultRouteParamAliasesBinder.bindAlphaNumericPlusAlias(boolean insensitive,
IRouter<R,W> router) |
protected void |
DefaultRouteParamAliasesBinder.bindAlphaPlusAlias(boolean insensitive,
IRouter<R,W> router) |
protected void |
DefaultRouteParamAliasesBinder.bindNumericAlias(boolean insensitive,
IRouter<R,W> router) |
protected void |
DefaultRouteParamAliasesBinder.bindNumericPlusAlias(boolean insensitive,
IRouter<R,W> router) |
IRouteBuilder<R> |
IRouteBuilderFactory.create(IRouter<R,W> router)
Creates a route builder using the specified router.
|
IStaticResourceBuilder<R> |
IStaticResourceBuilderFactory.create(IRouter<R,W> router,
boolean isDir)
Creates a static resources builder by specifying
if the resource to build is a file or a directory.
|
protected void |
DefaultRouteParamAliasesBinder.init(ISpincastConfig spincastConfig,
IRouter<R,W> router)
Init : binds the aliases.
|
| Modifier and Type | Method and Description |
|---|---|
IWebsocketRouteBuilder<R,W> |
IWebsocketRouteBuilderFactory.create(IRouter<R,W> router)
Creates a WebSocket route builder using the specified router.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
IDefaultRouter
Unparameterized default router interface to easily use a router with the
default request context class.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultRouter
An implementaiton of the IDefaultRouter interface, for easy
usage of the default version of the router.
|
class |
SpincastRouter<R extends IRequestContext<?>,W extends IWebsocketContext<?>>
Spincast router
|
| Modifier and Type | Method and Description |
|---|---|
protected IRouter<R,W> |
WebsocketRouteBuilder.getRouter() |
protected IRouter<R,W> |
StaticResourceBuilder.getRouter() |
protected IRouter<R,W> |
RouteBuilder.getRouter() |
| Constructor and Description |
|---|
RouteBuilder(IRouter<R,W> router,
IRouteFactory<R> routeFactory,
ISpincastRouterConfig spincastRouterConfig,
ISpincastFilters<R> spincastFilters) |
StaticResourceBuilder(IRouter<R,W> router,
boolean isDir,
IStaticResourceFactory<R> staticResourceFactory,
IStaticResourceCorsConfigFactory staticResourceCorsConfigFactory) |
WebsocketRouteBuilder(IRouter<R,W> router,
IWebsocketRouteFactory<R,W> websocketRouteFactory) |
| Modifier and Type | Method and Description |
|---|---|
protected IRouter<R,W> |
SpincastIntegrationTestBase.getRouter() |
Copyright © 2016. All rights reserved.