Representation
ResponseEntity can be constructed using
HALBuilderResponseBuilder with
the supplied RepresentationFactory
and HttpServletRequestHalHttpMessageConverterModule
to handle a conversionHalHttpMessageConverterModule
that allows manual registration of RepresentationWriter
and RepresentationReader for a given ClassRepresentation
by converting the supplied Object
into a Representation using the
default conversion mechanism.Representation
by converting the supplied Object
into a Representation using the
supplied RepresentationWriter
in favour of the default conversion mechanism.ETagStrategyETagStrategyHalHttpMessageConverterModule
modules registered with this converter.HttpMessageConverter implementation
that handles HAL representations
(application/hal+json and (application/hal+xml)
using the HALBuilder RepresentationHalHttpMessageConverter
by adding modules to handle
specific Java typesHalGetResponseEntityBuilder to
be injected as a method parameter in a
Spring MVC controller, pre-populated
with the HTTP request and other variablesRepresentationFactory and
the name of the HTTP request variable
that users can use to specify the
included fields in a requestResponseBuilder that enables
a HAL Representation to be
constructed for the response.HalHttpMessageConverterModule
that allows manual registration of RepresentationWriter
and RepresentationReader for a given ClassReadableRepresentation
to an object of type TReadableRepresentation
to an objectRepresentationReader
Note: uses a bit of reflection magic that I
feel occasionally a bit nervous about due
to type erasure but it seems to work.RepresentationWriter
Note: uses a bit of reflection magic that I
feel occasionally a bit nervous about due
to type erasure but it seems to work.Representation
that this response representsReadableRepresentationHalReader
that can retrieve an object
from a HAL ReadableRepresentationReadableRepresentationHalReader
that can write an object
to a HAL ReadableRepresentationRepresentation (entity)Representation
within the wrapped Representation
with the specified rel and href.RepresentationRepresentationRepresentationRepresentation
to the wrapped Representation
as an embedded resource.ReadableRepresentation
using the supplied
RepresentationFactoryReadableRepresentation
using the supplied
RepresentationFactoryCopyright © 2013. All Rights Reserved.