Package | Description |
---|---|
org.springframework.hateoas.mediatype.hal |
HAL-specific extensions, SPIs and Jackson customizations.
|
org.springframework.hateoas.server.core |
Implementations of core API interfaces.
|
org.springframework.hateoas.server.mvc |
Spring MVC helper classes to build
Link s and assemble
RepresentationModel types. |
Constructor and Description |
---|
EmbeddedMapper(LinkRelationProvider relProvider,
CurieProvider curieProvider,
boolean preferCollectionRels)
Creates a new
Jackson2HalModule.EmbeddedMapper for the given LinkRelationProvider , CurieProvider and flag whether to
prefer collection relations. |
HalHandlerInstantiator(LinkRelationProvider provider,
CurieProvider curieProvider,
org.springframework.context.support.MessageSourceAccessor messageSourceAccessor) |
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 . |
HalMediaTypeConfiguration(LinkRelationProvider relProvider,
org.springframework.beans.factory.ObjectProvider<CurieProvider> curieProvider,
org.springframework.beans.factory.ObjectProvider<HalConfiguration> halConfiguration,
org.springframework.context.support.MessageSourceAccessor messageSourceAccessor) |
Modifier and Type | Class and Description |
---|---|
class |
AnnotationLinkRelationProvider |
class |
DefaultLinkRelationProvider
Default implementation of
LinkRelationProvider to simply use the uncapitalized version of the given type's
name as item resource LinkRelation as well as an appended List for the collection resource
LinkRelation . |
class |
DelegatingLinkRelationProvider |
class |
EvoInflectorLinkRelationProvider
LinkRelationProvider implementation using the Evo Inflector implementation of an algorithmic approach to
English plurals. |
Modifier and Type | Class and Description |
---|---|
class |
ControllerLinkRelationProvider |
Constructor and Description |
---|
ControllerLinkRelationProvider(Class<?> controller,
org.springframework.plugin.core.PluginRegistry<LinkRelationProvider,Class<?>> providers) |
Copyright © 2012-2019–2019 Pivotal, Inc.. All rights reserved.