@Order(value=100) public class AnnotationRelProvider extends Object implements RelProvider
Constructor and Description |
---|
AnnotationRelProvider() |
Modifier and Type | Method and Description |
---|---|
String |
getCollectionResourceRelFor(Class<?> type)
Returns the relation type to be used to point to a collection resource of the given type.
|
String |
getItemResourceRelFor(Class<?> type)
Returns the relation type to be used to point to an item resource of the given type.
|
boolean |
supports(Class<?> delimiter) |
public String getCollectionResourceRelFor(Class<?> type)
RelProvider
getCollectionResourceRelFor
in interface RelProvider
type
- must not be null.public String getItemResourceRelFor(Class<?> type)
RelProvider
getItemResourceRelFor
in interface RelProvider
type
- must not be null.Copyright © 2012-2016–2018 Pivotal, Inc.. All rights reserved.