Class PermazenObjectHttpMessageConverter

All Implemented Interfaces:
HttpMessageConverter<PermazenObject>

public class PermazenObjectHttpMessageConverter extends AbstractHttpMessageConverter<PermazenObject>
Spring HttpMessageConverter capable of encoding and decoding one or more PermazenObjects contained in a DetachedPermazenTransaction.

The payload MIME type is set to application/x-permazen-transaction with an additional root parameter specifying the root PermazenObject in the encoded transaction. There may of course be arbitrarily many other supporting PermazenObjects riding along with it.

Validation of all incoming objects is supported; see setValidationGroups().

See Also: