Class TypeReferences
java.lang.Object
org.springframework.hateoas.server.core.TypeReferences
Helper to easily create
ParameterizedTypeReference
instances to Spring HATEOAS resource types. They're
basically a shortcut over using a verbose
new ParameterizedTypeReference<CollectionRepresentationModel<DomainType>>()
.- Since:
- 0.17
- Author:
- Oliver Gierke
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
AParameterizedTypeReference
to return aCollectionModel
of some type.static class
AParameterizedTypeReference
to return aEntityModel
of some type.static class
AParameterizedTypeReference
to return aPagedModel
of some type. -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
TypeReferences
public TypeReferences()
-