Class RootResourceInformationToAlpsDescriptorConverter
java.lang.Object
org.springframework.data.rest.webmvc.alps.RootResourceInformationToAlpsDescriptorConverter
Converter to create Alps
Descriptor
instances for a RootResourceInformation
.- Author:
- Oliver Gierke, Greg Turnquist
-
Constructor Summary
ConstructorDescriptionRootResourceInformationToAlpsDescriptorConverter
(Associations associations, Repositories repositories, PersistentEntities persistentEntities, org.springframework.hateoas.server.EntityLinks entityLinks, org.springframework.hateoas.mediatype.MessageResolver resolver, RepositoryRestConfiguration configuration, com.fasterxml.jackson.databind.ObjectMapper mapper, EnumTranslator translator) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.hateoas.mediatype.alps.Alps
convert
(RootResourceInformation resourceInformation)
-
Constructor Details
-
RootResourceInformationToAlpsDescriptorConverter
public RootResourceInformationToAlpsDescriptorConverter(Associations associations, Repositories repositories, PersistentEntities persistentEntities, org.springframework.hateoas.server.EntityLinks entityLinks, org.springframework.hateoas.mediatype.MessageResolver resolver, RepositoryRestConfiguration configuration, com.fasterxml.jackson.databind.ObjectMapper mapper, EnumTranslator translator)
-
-
Method Details
-
convert
public org.springframework.hateoas.mediatype.alps.Alps convert(RootResourceInformation resourceInformation)
-