public interface LinkRelationProvider extends org.springframework.plugin.core.Plugin<Class<?>>
LinkRelation
s for collections and items of the given type.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.
|
LinkRelation getItemResourceRelFor(Class<?> type)
type
- must not be null.LinkRelation getCollectionResourceRelFor(Class<?> type)
type
- must not be null.Copyright © 2012-2019–2019 Pivotal, Inc.. All rights reserved.