| Package | Description |
|---|---|
| ratpack.parse |
Parsing in Ratpack refers to deserializing a request body into a Java object of some type.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> Parse<T,NullParseOpts> |
Parse.of(Class<T> type)
Creates a parse object, with a
NullParseOpts options object. |
static <T> Parse<T,NullParseOpts> |
Parse.of(com.google.common.reflect.TypeToken<T> type)
Creates a parse object, with a
NullParseOpts options object. |
| 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. |