Package | Description |
---|---|
ratpack.form |
Support for handling uploaded forms, including file uploads.
|
ratpack.http |
The HTTP protocol.
|
ratpack.http.client | |
ratpack.parse |
Parsing in Ratpack refers to deserializing a request body into a Java object of some type.
|
Modifier and Type | Interface and Description |
---|---|
interface |
UploadedFile
A file that was uploaded via a form.
|
Modifier and Type | Method and Description |
---|---|
TypedData |
Request.getBody()
The body of the request.
|
Modifier and Type | Method and Description |
---|---|
TypedData |
ReceivedResponse.getBody() |
Modifier and Type | Method and Description |
---|---|
<T> T |
NoOptParserSupport.parse(Context context,
TypedData requestBody,
Parse<T,NullParseOpts> parse)
Delegates to
NoOptParserSupport.parse(ratpack.handling.Context, ratpack.http.TypedData, TypeToken) , discarding the opts object of the given parse . |
<T> T |
Parser.parse(Context context,
TypedData requestBody,
Parse<T,O> parse)
Deserializes the request body of the context into an object.
|
protected abstract <T> T |
NoOptParserSupport.parse(Context context,
TypedData requestBody,
TypeToken<T> type)
The parser implementation.
|