public class WebSocketHandler extends Object implements Route.Handler
Constructor and Description |
---|
WebSocketHandler(WebSocket.Initializer handler) |
Modifier and Type | Method and Description |
---|---|
Object |
apply(Context ctx)
Execute application code.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setRoute, then
public WebSocketHandler(WebSocket.Initializer handler)
@Nonnull public Object apply(@Nonnull Context ctx)
Route.Handler
apply
in interface Route.Handler
ctx
- Web context.Copyright © 2019. All rights reserved.