Package | Description |
---|---|
io.jooby | |
io.jooby.internal |
Modifier and Type | Interface and Description |
---|---|
interface |
Body
HTTP body value.
|
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 ValueNode |
Value.array(Context ctx,
String name,
List<String> values)
Creates a sequence/array of values.
|
static ValueNode |
Value.create(Context ctx,
String name,
List<String> values)
Creates a value that fits better with the given values.
|
static ValueNode |
Value.create(Context ctx,
String name,
String value)
Creates a value that fits better with the given values.
|
ValueNode |
ForwardingContext.form(String name) |
default ValueNode |
DefaultContext.form(String name) |
ValueNode |
Context.form(String name)
Form field that matches the given name.
|
ValueNode |
ValueNode.get(int index)
Get a value at the given position.
|
ValueNode |
ValueNode.get(String name)
Get a value that matches the given name.
|
static ValueNode |
Value.hash(Context ctx,
Map<String,Collection<String>> values)
Create a hash/object value using the map values.
|
ValueNode |
ForwardingContext.header() |
ValueNode |
Context.header()
Request headers as
ValueNode . |
static ValueNode |
Value.headers(Context ctx,
Map<String,Collection<String>> values)
Create a hash/object value using the map values.
|
static ValueNode |
Value.missing(String name)
Creates a missing value.
|
ValueNode |
ForwardingContext.multipart(String name) |
default ValueNode |
DefaultContext.multipart(String name) |
ValueNode |
Context.multipart(String name)
Get a multipart field that matches the given name.
|
ValueNode |
ForwardingContext.path() |
default ValueNode |
DefaultContext.path() |
ValueNode |
Context.path()
Convert
Context.pathMap() to a ValueNode object. |
ValueNode |
ForwardingContext.query(String name) |
default ValueNode |
DefaultContext.query(String name) |
ValueNode |
Context.query(String name)
Get a query parameter that matches the given name.
|
static ValueNode |
Value.value(Context ctx,
String name,
String value)
Creates a single value.
|
Modifier and Type | Method and Description |
---|---|
default Optional<ValueNode> |
ParamLookup.Stage.getNode(String name)
Wraps the result of
ParamLookup.Stage.get(String) in an Optional if the
value is a ValueNode or returns an empty Optional
otherwise. |
default Iterator<ValueNode> |
ValueNode.iterator()
Value iterator.
|
Modifier and Type | Method and Description |
---|---|
Object |
BeanConverter.convert(ValueNode node,
Class type)
Convert a node value into more specific type.
|
<T> T |
ForwardingContext.convert(ValueNode value,
Class<T> type) |
default <T> T |
DefaultContext.convert(ValueNode value,
Class<T> type) |
<T> T |
Context.convert(ValueNode value,
Class<T> type)
Converts a value (single or hash) into the given type.
|
void |
Formdata.put(String path,
ValueNode value)
Add a form field.
|
Modifier and Type | Class and Description |
---|---|
class |
ArrayValue |
class |
ByteArrayBody |
class |
FileBody |
class |
FormdataNode |
class |
HashValue |
class |
InputStreamBody |
class |
MissingValue |
class |
MultipartNode |
class |
QueryStringValue |
class |
SingleValue |
class |
WebSocketMessageImpl |
Modifier and Type | Method and Description |
---|---|
ValueNode |
ArrayValue.get(int index) |
ValueNode |
SingleValue.get(int index) |
ValueNode |
ByteArrayBody.get(int index) |
ValueNode |
MissingValue.get(int index) |
ValueNode |
InputStreamBody.get(int index) |
ValueNode |
HashValue.get(int index) |
ValueNode |
FileBody.get(int index) |
ValueNode |
ArrayValue.get(String name) |
ValueNode |
SingleValue.get(String name) |
ValueNode |
ByteArrayBody.get(String name) |
ValueNode |
MissingValue.get(String name) |
ValueNode |
InputStreamBody.get(String name) |
ValueNode |
HashValue.get(String name) |
ValueNode |
FileBody.get(String name) |
ValueNode |
SessionImpl.remove(String name) |
Modifier and Type | Method and Description |
---|---|
Iterator<ValueNode> |
ArrayValue.iterator() |
Iterator<ValueNode> |
SingleValue.iterator() |
Iterator<ValueNode> |
HashValue.iterator() |
Modifier and Type | Method and Description |
---|---|
ArrayValue |
ArrayValue.add(ValueNode value) |
static <T> T |
ValueConverters.convert(ValueNode value,
Class type,
Router router) |
static <T> T |
ValueConverters.convert(ValueNode value,
Type type,
Router router) |
void |
HashValue.put(String path,
ValueNode node) |
Constructor and Description |
---|
HashValue(Context ctx,
String name,
Supplier<Map<String,ValueNode>> mapSupplier) |
Copyright © 2021. All rights reserved.