Package org.spincast.plugins.routing
Class SpincastWebsocketRoute<R extends RequestContext<?>,W extends WebsocketContext<?>>
java.lang.Object
org.spincast.plugins.routing.SpincastWebsocketRoute<R,W>
- All Implemented Interfaces:
WebsocketRoute<R,
W>
public class SpincastWebsocketRoute<R extends RequestContext<?>,W extends WebsocketContext<?>>
extends Object
implements WebsocketRoute<R,W>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThe "before" filters, if any.The WebSocket route's classes.The ids of the filters that should be skipped for this route.getId()
The WebSocket route id.getPath()
The WebSocket route path.The WebSocket controller to use.boolean
Is this a route added by Spincast itself or by a plugin? Otherwise, the route is considered as an application route.toString()
-
Constructor Details
-
Method Details
-
isSpicastCoreRouteOrPluginRoute
public boolean isSpicastCoreRouteOrPluginRoute()Description copied from interface:WebsocketRoute
Is this a route added by Spincast itself or by a plugin? Otherwise, the route is considered as an application route.- Specified by:
isSpicastCoreRouteOrPluginRoute
in interfaceWebsocketRoute<R extends RequestContext<?>,
W extends WebsocketContext<?>>
-
getId
Description copied from interface:WebsocketRoute
The WebSocket route id.- Specified by:
getId
in interfaceWebsocketRoute<R extends RequestContext<?>,
W extends WebsocketContext<?>>
-
getClasses
Description copied from interface:WebsocketRoute
The WebSocket route's classes.- Specified by:
getClasses
in interfaceWebsocketRoute<R extends RequestContext<?>,
W extends WebsocketContext<?>>
-
getPath
Description copied from interface:WebsocketRoute
The WebSocket route path.- Specified by:
getPath
in interfaceWebsocketRoute<R extends RequestContext<?>,
W extends WebsocketContext<?>>
-
getBeforeFilters
Description copied from interface:WebsocketRoute
The "before" filters, if any.- Specified by:
getBeforeFilters
in interfaceWebsocketRoute<R extends RequestContext<?>,
W extends WebsocketContext<?>>
-
getFilterIdsToSkip
Description copied from interface:WebsocketRoute
The ids of the filters that should be skipped for this route.- Specified by:
getFilterIdsToSkip
in interfaceWebsocketRoute<R extends RequestContext<?>,
W extends WebsocketContext<?>>
-
getWebsocketController
Description copied from interface:WebsocketRoute
The WebSocket controller to use.- Specified by:
getWebsocketController
in interfaceWebsocketRoute<R extends RequestContext<?>,
W extends WebsocketContext<?>>
-
toString
-