public interface BodyParser
Modifier and Type | Interface and Description |
---|---|
static class |
BodyParser.AnyContent
Guess the body content by checking the Content-Type header.
|
static class |
BodyParser.FormUrlEncoded
Parse the body as form url encoded if the Content-Type is application/x-www-form-urlencoded.
|
static class |
BodyParser.Json
Parse the body as Json if the Content-Type is text/json or application/json.
|
static class |
BodyParser.MultipartFormData
Parse the body as form url encoded without checking the Content-Type.
|
static interface |
BodyParser.Of
Specify the body parser to use for an Action method.
|
static class |
BodyParser.Raw
Store the body content in a RawBuffer.
|
static class |
BodyParser.Text
Parse the body as text if the Content-Type is text/plain.
|
static class |
BodyParser.TolerantJson
Parse the body as Json without checking the Content-Type.
|
static class |
BodyParser.TolerantText
Parse the body as text without checking the Content-Type.
|
static class |
BodyParser.TolerantXml
Parse the body as Xml without checking the Content-Type.
|
static class |
BodyParser.Xml
Parse the body as Xml if the Content-Type is text/xml.
|
Modifier and Type | Method and Description |
---|---|
|
parser(int maxLength) |