Package | Description |
---|---|
org.jooby |
do more, more easily
|
Modifier and Type | Method and Description |
---|---|
Mutant |
Request.body()
HTTP body.
|
Mutant |
Request.Forwarding.body() |
Mutant |
Request.cookie(String name)
Get a cookie with the given name (if present).
|
Mutant |
Request.Forwarding.cookie(String name) |
Mutant |
Session.get(String name)
Get a object from this session.
|
Mutant |
Request.header(String name)
Get a HTTP header.
|
Mutant |
Request.Forwarding.header(String name) |
Mutant |
Upload.header(String name)
Upload header, like content-type, charset, etc...
|
Mutant |
Response.header(String name)
Get a header with the given name.
|
Mutant |
Response.Forwarding.header(String name) |
Mutant |
Request.header(String name,
String... xss)
Get a HTTP header and apply the XSS escapers.
|
Mutant |
Request.Forwarding.header(String name,
String... xss) |
Mutant |
Request.param(String name)
Get a HTTP request parameter under the given name.
|
Mutant |
Request.Forwarding.param(String name) |
Mutant |
Request.param(String name,
String... xss)
Get a HTTP request parameter under the given name.
|
Mutant |
Request.Forwarding.param(String name,
String... xss) |
Mutant |
Request.params()
Get all the available parameters.
|
Mutant |
Request.Forwarding.params() |
Mutant |
Request.params(String... xss)
Get all the available parameters.
|
Mutant |
Request.Forwarding.params(String... xss) |
Mutant |
Session.unset(String name)
Remove a local value (if any) from session locals.
|
Modifier and Type | Method and Description |
---|---|
Map<String,Mutant> |
Request.headers() |
Map<String,Mutant> |
Request.Forwarding.headers() |
Map<String,Mutant> |
Mutant.toMap()
A map view of this mutant.
|
Modifier and Type | Method and Description |
---|---|
Parser.Builder |
Parser.Builder.ifparams(Parser.Callback<Map<String,Mutant>> callback)
Like
#params(Callback) but it skip the callback if the requested type is an
Optional . |
void |
WebSocket.onMessage(WebSocket.OnMessage<Mutant> callback)
Register a callback to execute when a new message arrive.
|
Parser.Builder |
Parser.Builder.params(Parser.Callback<Map<String,Mutant>> callback)
Add a HTTP params callback.
|
Copyright © 2019. All rights reserved.