Package | Description |
---|---|
ratpack.handling |
The handling of application requests.
|
ratpack.jackson |
Integration with the Jackson JSON marshalling library.
|
ratpack.parse |
Parsing in Ratpack refers to deserializing a request body into a Java object of some type.
|
Modifier and Type | Method and Description |
---|---|
<T> T |
Context.parse(Parse<T> parse)
Parses the request body into an object.
|
Modifier and Type | Interface and Description |
---|---|
interface |
JsonParse<T> |
Modifier and Type | Interface and Description |
---|---|
interface |
Parser<T,P extends Parse<T>>
A parser is able to deserialize the body of a request into an object representation.
|
class |
ParserSupport<T,P extends Parse<T>>
A convenience superclass of
Parser that implements the type methods based on the implementation. |
Modifier and Type | Class and Description |
---|---|
class |
NoOptParse<T>
A generic parse type that can be used when parsers do not need any extra information from parse objects other than type.
|
class |
ParseSupport<T>
Convenience base for
Parse implementations. |
Modifier and Type | Method and Description |
---|---|
Parse<?> |
NoSuchParserException.getParse()
The parse object.
|
Constructor and Description |
---|
NoSuchParserException(Parse<?> parse,
String contentType)
Constructor.
|