| Package | Description |
|---|---|
| org.spincast.core.routing | |
| org.spincast.core.websocket | |
| org.spincast.plugins.routing |
| Modifier and Type | Method and Description |
|---|---|
void |
IRouter.addWebsocketRoute(IWebsocketRoute<R,W> websocketRoute)
Adds a Websocket route, directly.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
IDefaultWebsocketRoute
Default WebSocket route.
|
| Modifier and Type | Method and Description |
|---|---|
IWebsocketRoute<R,W> |
IWebsocketRouteBuilder.create(IWebsocketController<R,W> websocketController)
Creates and returns the WebSocket route without adding it to
the router.
|
protected IWebsocketRoute<R,W> |
WebsocketRouteHandler.getWebsocketRoute() |
| Modifier and Type | Method and Description |
|---|---|
IHandler<R> |
IWebsocketRouteHandlerFactory.createWebsocketRouteHandler(IWebsocketRoute<R,W> websocketRoute) |
| Constructor and Description |
|---|
WebsocketRouteHandler(IWebsocketRoute<R,W> websocketRoute,
IServer server,
IWebsocketEndpointHandlerFactory<R,W> websocketServerEndpointHandlerFactory,
IWebsocketEndpointToControllerManager websocketEndpointToControllerKeysMap) |
| Modifier and Type | Class and Description |
|---|---|
class |
SpincastWebsocketRoute<R extends IRequestContext<?>,W extends IWebsocketContext<?>> |
| Modifier and Type | Method and Description |
|---|---|
IWebsocketRoute<R,W> |
WebsocketRouteBuilder.create(IWebsocketController<R,W> websocketController) |
IWebsocketRoute<R,W> |
IWebsocketRouteFactory.createRoute(String id,
String path,
List<IHandler<R>> beforeFilters,
Set<String> filterIdsToSkip,
IWebsocketController<R,W> websocketController) |
| Modifier and Type | Method and Description |
|---|---|
void |
SpincastRouter.addWebsocketRoute(IWebsocketRoute<R,W> websocketRoute) |
protected IRoute<R> |
SpincastRouter.createHttpRouteFromWebsocketRoute(IWebsocketRoute<R,W> websocketRoute) |
Copyright © 2016. All rights reserved.