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
Constructors -
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.booleanIs 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:WebsocketRouteIs this a route added by Spincast itself or by a plugin? Otherwise, the route is considered as an application route.- Specified by:
isSpicastCoreRouteOrPluginRoutein interfaceWebsocketRoute<R extends RequestContext<?>,W extends WebsocketContext<?>>
-
getId
Description copied from interface:WebsocketRouteThe WebSocket route id.- Specified by:
getIdin interfaceWebsocketRoute<R extends RequestContext<?>,W extends WebsocketContext<?>>
-
getClasses
Description copied from interface:WebsocketRouteThe WebSocket route's classes.- Specified by:
getClassesin interfaceWebsocketRoute<R extends RequestContext<?>,W extends WebsocketContext<?>>
-
getPath
Description copied from interface:WebsocketRouteThe WebSocket route path.- Specified by:
getPathin interfaceWebsocketRoute<R extends RequestContext<?>,W extends WebsocketContext<?>>
-
getBeforeFilters
Description copied from interface:WebsocketRouteThe "before" filters, if any.- Specified by:
getBeforeFiltersin interfaceWebsocketRoute<R extends RequestContext<?>,W extends WebsocketContext<?>>
-
getFilterIdsToSkip
Description copied from interface:WebsocketRouteThe ids of the filters that should be skipped for this route.- Specified by:
getFilterIdsToSkipin interfaceWebsocketRoute<R extends RequestContext<?>,W extends WebsocketContext<?>>
-
getWebsocketController
Description copied from interface:WebsocketRouteThe WebSocket controller to use.- Specified by:
getWebsocketControllerin interfaceWebsocketRoute<R extends RequestContext<?>,W extends WebsocketContext<?>>
-
toString
-