public class TypeReferences extends Object
ParameterizedTypeReference
instances to Spring HATEOAS resource types. They're
basically a shortcut over using a verbose {@code new ParameterizedTypeReferenceModifier and Type | Class and Description |
---|---|
static class |
TypeReferences.PagedResourcesType<T>
A
ParameterizedTypeReference to return a PagedResources of some type. |
static class |
TypeReferences.ResourcesType<T>
A
ParameterizedTypeReference to return a Resources of some type. |
static class |
TypeReferences.ResourceType<T>
A
ParameterizedTypeReference to return a Resource of some type. |
Constructor and Description |
---|
TypeReferences() |
Copyright © 2012-2016–2018 Pivotal, Inc.. All rights reserved.