public static interface BodyParser.Context
Modifier and Type | Interface and Description |
---|---|
static interface |
BodyParser.Context.Bytes
Read bytes from HTTP Body.
|
static interface |
BodyParser.Context.Text
Read text from HTTP body.
|
Modifier and Type | Method and Description |
---|---|
<T> T |
bytes(BodyParser.Context.Bytes bytes)
Convert a HTTP request body to something else.
|
<T> T |
text(BodyParser.Context.Text text)
Convert a HTTP request body to something else.
|
<T> T text(BodyParser.Context.Text text) throws Exception
Charset
.T
- Target type.text
- A text reading strategy.Exception
- When the operation fails.<T> T bytes(BodyParser.Context.Bytes bytes) throws Exception
T
- Target type.bytes
- A bytes reading strategy.Exception
- When the operation fails.Copyright © 2015. All rights reserved.