com.lightbend.lagom.scaladsl.api.deser
Get a deserializer for an entity described by the given request or response protocol.
Get a deserializer for an entity described by the given request or response protocol.
The protocol of the message request or response associated with teh entity.
A deserializer for request/response messages.
UnsupportedMediaType
If the deserializer can't deserialize that protocol.
Get a serializer for a client request.
Get a serializer for a client request.
Since a client is the initiator of the request, it simply returns the default serializer for the entity.
A serializer for request messages.
Negotiate a serializer for the response, given the accepted message headers.
Negotiate a serializer for the response, given the accepted message headers.
The accepted message headers is a list of message headers that will be accepted by the client. Any empty values in a message protocol, including the list itself, indicate that any format is acceptable.
NotAcceptable
If the serializer can't meet the requirements of any of the accept headers.
The message headers that will be accepted for response serialization.
Whether this serializer is a streamed serializer or not.
Whether this serializer is a streamed serializer or not.
Whether this is a streamed serializer.
Whether this serializer serializes values that are used or not.
Whether this serializer serializes values that are used or not.
If false, it means this serializer is for an empty request/response, eg, they use the akka.NotUsed type.
Whether the values this serializer serializes are used.