Create a custom body type for the request.
Create a custom body type for the request. Encapsulates the means to insert/retrieve into the request
Create a custom body type for the request.
Create a custom body type for the request. Encapsulates the means to insert/retrieve into the request
Binary HTTP body, with custom ContentType
HTML encoded form HTTP message body which will fail to deserialize if a single field is missing/invalid.
HTML encoded form HTTP message body which will fail to deserialize if a single field is missing/invalid. Use this for server-server communications when you want the server to reject with a BadRequest. This method simply takes a set of form fields.
JSON format HTTP message body.
JSON format HTTP message body. Defaults to Argo JSON format, but this can be overridden by passing an alternative JsonFormat
MultiPart encoded form HTTP message body which will fail to deserialize if a single field is missing/invalid.
MultiPart encoded form HTTP message body which will fail to deserialize if a single field is missing/invalid. Use this for server-server communications when you want the server to reject with a BadRequest. This method simply takes a set of form fields.
MultiPart encoded form HTTP message body which deserializes even if fields are missing/invalid.
MultiPart encoded form HTTP message body which deserializes even if fields are missing/invalid. Use this for browser-server communications where you want to give feedback to the user. This method takes a set of form fields, combined with their relevant error messages in case of validation failure.
HTML encoded form HTTP message body which deserializes even if fields are missing/invalid.
HTML encoded form HTTP message body which deserializes even if fields are missing/invalid. Use this for browser-server communications where you want to give feedback to the user. This method takes a set of form fields, combined with their relevant error messages in case of validation failure.
Native Scala XML format HTTP message body.
Factory methods for various supported HTTP body types.