public class DelegatingRelProvider extends Object implements RelProvider
Constructor and Description |
---|
DelegatingRelProvider(org.springframework.plugin.core.PluginRegistry<RelProvider,Class<?>> providers) |
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 DelegatingRelProvider(org.springframework.plugin.core.PluginRegistry<RelProvider,Class<?>> providers)
public String getItemResourceRelFor(Class<?> type)
RelProvider
getItemResourceRelFor
in interface RelProvider
type
- must not be null.public String getCollectionResourceRelFor(Class<?> type)
RelProvider
getCollectionResourceRelFor
in interface RelProvider
type
- must not be null.Copyright © 2012-2016–2018 Pivotal, Inc.. All rights reserved.