Package | Description |
---|---|
io.jooby |
Modifier and Type | Interface and Description |
---|---|
interface |
Body
HTTP body value.
|
interface |
FileUpload
File upload class, file upload are available when request body is encoded as
MediaType.MULTIPART_FORMDATA . |
interface |
Formdata
Formdata class for direct MVC parameter provisioning.
|
interface |
Multipart
Multipart class for direct MVC parameter provisioning.
|
interface |
QueryString
Query string class for direct MVC parameter provisioning.
|
Modifier and Type | Method and Description |
---|---|
static Value |
Value.array(String name,
List<String> values)
Creates a sequence/array of values.
|
Value |
ForwardingContext.cookie(String name) |
default Value |
DefaultContext.cookie(String name) |
Value |
Context.cookie(String name)
Get a cookie matching the given name.
|
static Value |
Value.create(String name,
List<String> values)
Creates a value that fits better with the given values.
|
static Value |
Value.create(String name,
String value)
Creates a value that fits better with the given values.
|
Value |
ForwardingContext.flash(String name) |
default Value |
DefaultContext.flash(String name)
Get a flash attribute.
|
Value |
Context.flash(String name)
Get a flash attribute.
|
Value |
ForwardingContext.form(String name) |
default Value |
DefaultContext.form(String name) |
Value |
Context.form(String name)
Form field that matches the given name.
|
default Value |
FileUpload.get(int index) |
Value |
Value.get(int index)
Get a value at the given position.
|
default Value |
FileUpload.get(String name) |
Value |
Session.get(String name)
Get a session attribute.
|
Value |
Value.get(String name)
Get a value that matches the given name.
|
static Value |
Value.hash(Map<String,Collection<String>> values)
Create a hash/object value using the map values.
|
Value |
ForwardingContext.header() |
Value |
Context.header()
Request headers as
Value . |
Value |
ForwardingContext.header(String name) |
default Value |
DefaultContext.header(String name) |
Value |
Context.header(String name)
Get a header that matches the given name.
|
static Value |
Value.missing(String name)
Creates a missing value.
|
Value |
ForwardingContext.multipart(String name) |
default Value |
DefaultContext.multipart(String name) |
Value |
Context.multipart(String name)
Get a multipart field that matches the given name.
|
Value |
ForwardingContext.path() |
default Value |
DefaultContext.path() |
Value |
Context.path()
Convert
Context.pathMap() to a Value object. |
Value |
ForwardingContext.path(String name) |
default Value |
DefaultContext.path(String name) |
Value |
Context.path(String name)
Path variable.
|
Value |
ForwardingContext.query(String name) |
default Value |
DefaultContext.query(String name) |
Value |
Context.query(String name)
Get a query parameter that matches the given name.
|
Value |
Session.remove(String name)
Remove a session attribute.
|
static Value |
Value.value(String name,
String value)
Creates a single value.
|
Modifier and Type | Method and Description |
---|---|
default Iterator<Value> |
FileUpload.iterator() |
default Iterator<Value> |
Value.iterator()
Value iterator.
|
Modifier and Type | Method and Description |
---|---|
Formdata |
Formdata.put(String path,
Value value)
Add a form field.
|
Copyright © 2019. All rights reserved.