Package | Description |
---|---|
org.jooby |
do more, more easily
|
org.jooby.internal | |
org.jooby.internal.mvc |
Modifier and Type | Interface and Description |
---|---|
static interface |
WebSocket.Handler<T> |
Modifier and Type | Method and Description |
---|---|
void |
WebSocket.onMessage(WebSocket.OnMessage<Mutant> callback)
Register a callback to execute when a new message arrive.
|
Modifier and Type | Method and Description |
---|---|
default <T> WebSocket.Definition |
Router.ws(Class<? extends WebSocket.OnMessage<T>> handler)
Append a new WebSocket handler under the given path.
|
<T> WebSocket.Definition |
Router.ws(String path,
Class<? extends WebSocket.OnMessage<T>> handler)
Append a new WebSocket handler under the given path.
|
<T> WebSocket.Definition |
Jooby.ws(String path,
Class<? extends WebSocket.OnMessage<T>> handler) |
Modifier and Type | Method and Description |
---|---|
void |
WebSocketImpl.onMessage(WebSocket.OnMessage<Mutant> callback) |
Modifier and Type | Class and Description |
---|---|
class |
MvcWebSocket |
Copyright © 2017. All rights reserved.