Module body
Expand description
module in function of extractors for Request bodies
Structs§
- Body
- Extractor to get the response body.
- Bytes
- Extractor to get the response body, collected as
Bytes. - Bytes
Rejection - Rejection type used when the
Bytesextractor fails to collect the request body. - Csv
- Wrapper used to create Csv Http
Responses, as well as to extract Csv from HttpRequestbodies. - Failed
ToDeserialize Csv - Rejection type used if the
Csvdeserialize the payload into the target type. - Failed
ToDeserialize Form - Rejection type used if the
Formdeserialize the form into the target type. - Failed
ToDeserialize Json - Rejection type used if the
Jsondeserialize the payload into the target type. - Form
- Wrapper used to create Form Http
Responses, as well as to extract Form from HttpRequestbodies. - Invalid
CsvContent Type - Rejection type for
Csvused if theContent-Typeheader is missing or its value is nottext/csv. - Invalid
Form Content Type - Rejection type for
Formused if theContent-Typeheader is missing or its value is notapplication/x-www-form-urlencoded. - Invalid
Json Content Type - Rejection type for
Jsonused if theContent-Typeheader is missing or its value is notapplication/json. - Invalid
Text Content Type - Rejection type for
Textused if theContent-Typeheader is missing or its value is nottext/plain. - Invalid
Utf8 Text - Rejection type used if the
Textwas not valid UTF-8. - Json
- Wrapper used to create Json Http
Responses, as well as to extract Json from HttpRequestbodies. - Text
- Extractor to get the response body, collected as
String.
Enums§
- CsvRejection
- Rejection used for
Csv - Form
Rejection - Rejection used for
Form - Json
Rejection - Rejection used for
Json - Text
Rejection - Rejection used for
Text