http/request/request library

Request encapsulates a HTTP requests. It provides various convenience methods to help writing route handlers easier.

Decoding JSON requests bodyAsJson, bodyAsJsonList and bodyAsJsonMap methods decode JSON requests with a single line of code.

bodyAsUrlEncodedForm method decodes url-encoded form requests with a single line of code.

bodyAsFormData decode multipart/form-data requests.

Classes

BinaryFileFormField
Binary file field in the multipart/form-data
BinaryFileListFormField
FileFormField<T>
FormField<T>
Abstract class for fields on multipart/form-data
Request
Request contains information about HTTP request
StringFormField
String field in the multipart/form-data
TextFileFormField
Text file field in the multipart/form-data
TextFileListFormField