public class AnnotationLinkRelationProvider extends Object implements LinkRelationProvider, org.springframework.core.Ordered
Constructor and Description |
---|
AnnotationLinkRelationProvider() |
Modifier and Type | Method and Description |
---|---|
LinkRelation |
getCollectionResourceRelFor(Class<?> type)
Returns the relation type to be used to point to a collection resource of the given type.
|
LinkRelation |
getItemResourceRelFor(Class<?> type)
Returns the relation type to be used to point to an item resource of the given type.
|
int |
getOrder() |
boolean |
supports(Class<?> delimiter) |
public LinkRelation getCollectionResourceRelFor(Class<?> type)
LinkRelationProvider
getCollectionResourceRelFor
in interface LinkRelationProvider
type
- must not be null.public LinkRelation getItemResourceRelFor(Class<?> type)
LinkRelationProvider
getItemResourceRelFor
in interface LinkRelationProvider
type
- must not be null.public int getOrder()
getOrder
in interface org.springframework.core.Ordered
Copyright © 2012-2019–2019 Pivotal, Inc.. All rights reserved.