public.javadoc.org.spincast.core.websocket.WebsocketRouteBuilderFactory.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.
WebsocketRouteBuilderFactory (org.spincast:spincast-framework 1.0.0 API)
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
All Methods Instance Methods Abstract Methods
Modifier and Type
Method and Description
WebsocketRouteBuilder<R,W>
create()
Creates a route builder without using a router.
WebsocketRouteBuilder<R,W>
create(Router<R,W> router)
Creates a WebSocket route builder using the specified router.
-
-
Method Detail
-
create
WebsocketRouteBuilder<R,W> create()
Creates a route builder without using a router.
The save()
method
will throw an expception if called. Only
create()
will be available.
Copyright © 2019. All rights reserved.