Package | Description |
---|---|
org.jooby |
do more, more easily
|
org.jooby.internal |
Modifier and Type | Field and Description |
---|---|
static com.google.inject.Key<Set<WebSocket.Definition>> |
WebSocket.KEY
Websocket key.
|
Modifier and Type | Method and Description |
---|---|
WebSocket.Definition |
WebSocket.Definition.consumes(MediaType type)
Set the media types the route can consume.
|
WebSocket.Definition |
WebSocket.Definition.consumes(String type)
Set the media types the route can consume.
|
WebSocket.Definition |
WebSocket.Definition.produces(MediaType type)
Set the media types the route can produces.
|
WebSocket.Definition |
WebSocket.Definition.produces(String type)
Set the media types the route can produces.
|
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) |
WebSocket.Definition |
Router.ws(String path,
WebSocket.OnOpen handler)
Append a new WebSocket handler under the given path.
|
WebSocket.Definition |
Jooby.ws(String path,
WebSocket.OnOpen handler) |
default WebSocket.Definition |
Router.ws(String path,
WebSocket.OnOpen1 handler)
Append a new WebSocket handler under the given path.
|
Constructor and Description |
---|
AppPrinter(Set<Route.Definition> routes,
Set<WebSocket.Definition> sockets,
com.typesafe.config.Config conf) |
HttpHandlerImpl(com.google.inject.Injector injector,
RequestScope requestScope,
Set<Route.Definition> routes,
Set<WebSocket.Definition> sockets,
String path,
ParserExecutor parserExecutor,
Set<Renderer> renderers,
Set<Err.Handler> err,
StatusCodeProvider sc,
Charset charset,
List<Locale> locale) |
Copyright © 2017. All rights reserved.