Package org.spincast.core.websocket
Interface WebsocketRoute<R extends RequestContext<?>,W extends WebsocketContext<?>>
- All Known Subinterfaces:
DefaultWebsocketRoute
- All Known Implementing Classes:
SpincastWebsocketRoute
public interface WebsocketRoute<R extends RequestContext<?>,W extends WebsocketContext<?>>
A WebSocket route.
-
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.
-
Method Details
-
getId
String getId()The WebSocket route id. -
getClasses
The WebSocket route's classes. -
isSpicastCoreRouteOrPluginRoute
boolean isSpicastCoreRouteOrPluginRoute()Is this a route added by Spincast itself or by a plugin? Otherwise, the route is considered as an application route. -
getPath
String getPath()The WebSocket route path. -
getBeforeFilters
The "before" filters, if any. -
getWebsocketController
WebsocketController<R,W> getWebsocketController()The WebSocket controller to use. -
getFilterIdsToSkip
The ids of the filters that should be skipped for this route.
-