Package | Description |
---|---|
org.jooby | |
org.jooby.internal |
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.
|
WebSocket.Definition |
Jooby.ws(String path,
WebSocket.Handler 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,
Set<Err.Handler> err) |
Copyright © 2015. All rights reserved.