public class TypeReferences extends Object
ParameterizedTypeReference instances to Spring HATEOAS resource types. They're
basically a shortcut over using a verbose
new ParameterizedTypeReference<CollectionRepresentationModel<DomainType>>().| Modifier and Type | Class and Description |
|---|---|
static class |
TypeReferences.CollectionModelType<T>
A
ParameterizedTypeReference to return a CollectionModel of some type. |
static class |
TypeReferences.EntityModelType<T>
A
ParameterizedTypeReference to return a EntityModel of some type. |
static class |
TypeReferences.PagedModelType<T>
A
ParameterizedTypeReference to return a PagedModel of some type. |
| Constructor and Description |
|---|
TypeReferences() |
Copyright © 2011–2021 Pivotal, Inc.. All rights reserved.