@Order(value=2147483647) public class DefaultRelProvider extends Object implements RelProvider
RelProvider to simply use the uncapitalized version of the given type's name as
single resource rel as well as an appended List for the collection resource rel.| Constructor and Description |
|---|
DefaultRelProvider() |
| 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 boolean supports(Class<?> delimiter)
supports in interface org.springframework.plugin.core.Plugin<Class<?>>public String getCollectionResourceRelFor(Class<?> type)
RelProvidergetCollectionResourceRelFor in interface RelProvidertype - must not be null.public String getItemResourceRelFor(Class<?> type)
RelProvidergetItemResourceRelFor in interface RelProvidertype - must not be null.Copyright © 2012-2016–2017 Pivotal, Inc.. All rights reserved.