Creates a Marshaller from the given function.
Helper for creating a Marshaller combined of the provided marshal
function
and an implicit Marshaller which is able to produce the required final type.
Creates a response for a status code.
Creates a response for a status code. Does not support content-type negotiation but will return
a response either with a text-plain
entity containing the status.defaultMessage
or an empty entity
for status codes that don't allow a response.
Creates a response from status code and headers.
Creates a response from status code and headers. Does not support content-type negotiation but will return
a response either with a text-plain
entity containing the status.defaultMessage
or an empty entity
for status codes that don't allow a response.
The length of randomly generated multipart boundaries (before base64 encoding).
The length of randomly generated multipart boundaries (before base64 encoding). Can be overridden to configure.
The random instance that is used to create multipart boundaries.
The random instance that is used to create multipart boundaries. This can be overriden (e.g. in tests) to choose how a boundary is created.
Helper for creating a "super-marshaller" from a number of values and a function producing "sub-marshallers" from these values.
Helper for creating a "super-marshaller" from a number of values and a function producing "sub-marshallers" from these values. Content-negotiation determines, which "sub-marshaller" eventually gets to do the job.
Helper for creating a "super-marshaller" from a number of "sub-marshallers".
Helper for creating a "super-marshaller" from a number of "sub-marshallers". Content-negotiation determines, which "sub-marshaller" eventually gets to do the job.
Helper for creating a synchronous Marshaller to non-negotiable content from the given function.
The method used to create boundaries in multipartMarshaller
.
The method used to create boundaries in multipartMarshaller
. Can be overridden to create custom boundaries.
Helper for creating a Marshaller using the given function.
Helper for creating a synchronous Marshaller to content with a fixed charset from the given function.
Helper for creating a synchronous Marshaller to content with a negotiable charset from the given function.