| 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 Router<R,W> |
SpincastFrontController.getRouter() |
| Constructor and Description |
|---|
SpincastFrontController(Router<R,W> router,
SpincastConfig spincastConfig,
SpincastDictionary spincastDictionary,
Server server,
RequestContextFactory<R> requestCreationFactory,
SpincastRequestScope spincastRequestScope,
Type requestContextType,
JsonManager jsonManager,
XmlManager xmlManager)
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
DefaultRouteParamAliasesBinder.bindAlphaAlias(boolean insensitive,
Router<R,W> router) |
protected void |
DefaultRouteParamAliasesBinder.bindAlphaNumericAlias(boolean insensitive,
Router<R,W> router) |
protected void |
DefaultRouteParamAliasesBinder.bindAlphaNumericPlusAlias(boolean insensitive,
Router<R,W> router) |
protected void |
DefaultRouteParamAliasesBinder.bindAlphaPlusAlias(boolean insensitive,
Router<R,W> router) |
protected void |
DefaultRouteParamAliasesBinder.bindNumericAlias(boolean insensitive,
Router<R,W> router) |
protected void |
DefaultRouteParamAliasesBinder.bindNumericPlusAlias(boolean insensitive,
Router<R,W> router) |
RouteBuilder<R> |
RouteBuilderFactory.create(Router<R,W> router)
Creates a route builder using the specified router.
|
StaticResourceBuilder<R> |
StaticResourceBuilderFactory.create(Router<R,W> router,
boolean isDir)
Creates a static resources builder by specifying
if the resource to build is a file or a directory.
|
RedirectRuleBuilder |
RedirectRuleBuilderFactory.create(Router<R,W> router,
String oldPath) |
protected void |
DefaultRouteParamAliasesBinder.init(SpincastConfig spincastConfig,
Router<R,W> router)
Init : binds the aliases.
|
| Modifier and Type | Method and Description |
|---|---|
WebsocketRouteBuilder<R,W> |
WebsocketRouteBuilderFactory.create(Router<R,W> router)
Creates a WebSocket route builder using the specified router.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
DefaultRouter
Unparameterized default router interface to easily use a router with the
default request context class.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultRouterDefault
An implementaiton of the DefaultRouter interface, for easy
usage of the default version of the router.
|
class |
SpincastRouter<R extends RequestContext<?>,W extends WebsocketContext<?>>
Spincast router
|
| Modifier and Type | Method and Description |
|---|---|
protected Router<R,W> |
WebsocketRouteBuilderDefault.getRouter() |
protected Router<R,W> |
StaticResourceBuilderDefault.getRouter() |
protected Router<R,W> |
RouteBuilderDefault.getRouter() |
protected Router<R,W> |
RedirectRuleBuilderDefault.getRouter() |
| Constructor and Description |
|---|
RedirectRuleBuilderDefault(Router<R,W> router,
String oldPath,
SpincastRouterConfig spincastRouterConfig,
SpincastRoutingUtils spincastRoutingUtils) |
RouteBuilderDefault(Router<R,W> router,
RouteFactory<R> routeFactory,
SpincastRouterConfig spincastRouterConfig,
SpincastFilters<R> spincastFilters,
SpincastConfig spincastConfig) |
StaticResourceBuilderDefault(Router<R,W> router,
boolean isDir,
StaticResourceFactory<R> staticResourceFactory,
StaticResourceCorsConfigFactory staticResourceCorsConfigFactory,
StaticResourceCacheConfigFactory staticResourceCacheConfigFactory,
SpincastConfig spincastConfig,
SpincastUtils spincastUtils,
SpincastRouterConfig spincastRouterConfig) |
WebsocketRouteBuilderDefault(Router<R,W> router,
WebsocketRouteFactory<R,W> websocketRouteFactory) |
| Modifier and Type | Method and Description |
|---|---|
protected Router<R,W> |
SpincastIntegrationTestBase.getRouter() |
Copyright © 2016. All rights reserved.