Package org.spincast.core.websocket
Interface WebsocketRouteBuilderFactory<R extends RequestContext<?>,W extends WebsocketContext<?>>
public interface WebsocketRouteBuilderFactory<R extends RequestContext<?>,W extends WebsocketContext<?>>
Factory to create a WebSocket route builder.
-
Method Summary
-
Method Details
-
create
WebsocketRouteBuilder<R,W> create()Creates a route builder without using a router. Thesave()
method will throw an expception if called. Onlycreate()
will be available. -
create
Creates a WebSocket route builder using the specified router.
-