Package | Description |
---|---|
org.springframework.hateoas.mediatype.hal |
HAL-specific extensions, SPIs and Jackson customizations.
|
Modifier and Type | Method and Description |
---|---|
HalConfiguration |
HalConfiguration.withRenderSingleLinksFor(LinkRelation relation,
HalConfiguration.RenderSingleLinks renderSingleLinks)
Configures how to render a single link for a given particular
LinkRelation . |
HalConfiguration |
HalConfiguration.withRenderSingleLinksFor(String pattern,
HalConfiguration.RenderSingleLinks renderSingleLinks)
Configures how to render a single link for the given link relation pattern, i.e. this can be either a fixed link
relation (like
search ), take wildcards to e.g. match links of a given curie (like acme:* ) or even
complete URIs (like http://api.acme.com/foo/** ). |
Constructor and Description |
---|
HalHandlerInstantiator(LinkRelationProvider provider,
CurieProvider curieProvider,
org.springframework.context.support.MessageSourceAccessor accessor,
boolean enforceEmbeddedCollections,
HalConfiguration halConfiguration)
Creates a new
Jackson2HalModule.HalHandlerInstantiator using the given LinkRelationProvider , CurieProvider and
MessageSourceAccessor and whether to enforce embedded collections. |
HalHandlerInstantiator(LinkRelationProvider provider,
CurieProvider curieProvider,
org.springframework.context.support.MessageSourceAccessor messageSourceAccessor,
HalConfiguration halConfiguration)
Creates a new
Jackson2HalModule.HalHandlerInstantiator using the given LinkRelationProvider , CurieProvider and
MessageSourceAccessor . |
HalLinkListSerializer(com.fasterxml.jackson.databind.BeanProperty property,
CurieProvider curieProvider,
Jackson2HalModule.EmbeddedMapper mapper,
org.springframework.context.support.MessageSourceAccessor accessor,
HalConfiguration halConfiguration) |
HalLinkListSerializer(CurieProvider curieProvider,
Jackson2HalModule.EmbeddedMapper mapper,
org.springframework.context.support.MessageSourceAccessor accessor,
HalConfiguration halConfiguration) |
OptionalListJackson2Serializer(com.fasterxml.jackson.databind.BeanProperty property,
HalConfiguration halConfiguration)
Creates a new
Jackson2HalModule.OptionalListJackson2Serializer using the given BeanProperty . |
Constructor and Description |
---|
HalMediaTypeConfiguration(LinkRelationProvider relProvider,
org.springframework.beans.factory.ObjectProvider<CurieProvider> curieProvider,
org.springframework.beans.factory.ObjectProvider<HalConfiguration> halConfiguration,
org.springframework.context.support.MessageSourceAccessor messageSourceAccessor) |
Copyright © 2012-2019–2019 Pivotal, Inc.. All rights reserved.