public.javadoc.org.spincast.plugins.routing.SpincastWebsocketRoute.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spincast-website Show documentation
Show all versions of spincast-website Show documentation
Source code for the https://www.spincast.org website.
SpincastWebsocketRoute (org.spincast:spincast-framework 0.9.25 API)
org.spincast.plugins.routing
Class SpincastWebsocketRoute<R extends IRequestContext<?>,W extends IWebsocketContext<?>>
- java.lang.Object
-
- org.spincast.plugins.routing.SpincastWebsocketRoute<R,W>
-
- All Implemented Interfaces:
- IWebsocketRoute<R,W>
public class SpincastWebsocketRoute<R extends IRequestContext<?>,W extends IWebsocketContext<?>>
extends Object
implements IWebsocketRoute<R,W>
-
-
Constructor Summary
Constructors
Constructor and Description
SpincastWebsocketRoute(String id,
String path,
List<IHandler<R>> beforeFilters,
IWebsocketController<R,W> websocketController)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
List<IHandler<R>>
getBeforeFilters()
The "before" filters, if any.
String
getId()
The WebSocket route id.
String
getPath()
The WebSocket route path.
IWebsocketController<R,W>
getWebsocketController()
The WebSocket controller to use.
String
toString()
-
-
Method Detail
-
getId
public String getId()
Description copied from interface: IWebsocketRoute
The WebSocket route id.
- Specified by:
getId
in interface IWebsocketRoute<R extends IRequestContext<?>,W extends IWebsocketContext<?>>
-
getPath
public String getPath()
Description copied from interface: IWebsocketRoute
The WebSocket route path.
- Specified by:
getPath
in interface IWebsocketRoute<R extends IRequestContext<?>,W extends IWebsocketContext<?>>
-
getBeforeFilters
public List<IHandler<R>> getBeforeFilters()
Description copied from interface: IWebsocketRoute
The "before" filters, if any.
- Specified by:
getBeforeFilters
in interface IWebsocketRoute<R extends IRequestContext<?>,W extends IWebsocketContext<?>>
-
getWebsocketController
public IWebsocketController<R,W> getWebsocketController()
Description copied from interface: IWebsocketRoute
The WebSocket controller to use.
- Specified by:
getWebsocketController
in interface IWebsocketRoute<R extends IRequestContext<?>,W extends IWebsocketContext<?>>
Copyright © 2016. All rights reserved.