public class SimpleRelProvider extends Object implements org.springframework.hateoas.server.LinkRelationProvider
| Constructor and Description |
|---|
SimpleRelProvider() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.hateoas.LinkRelation |
getCollectionResourceRelFor(Class<?> type) |
org.springframework.hateoas.LinkRelation |
getItemResourceRelFor(Class<?> type) |
boolean |
supports(org.springframework.hateoas.server.LinkRelationProvider.LookupContext context) |
public boolean supports(org.springframework.hateoas.server.LinkRelationProvider.LookupContext context)
supports in interface org.springframework.hateoas.server.LinkRelationProvidersupports in interface org.springframework.plugin.core.Plugin<org.springframework.hateoas.server.LinkRelationProvider.LookupContext>public org.springframework.hateoas.LinkRelation getItemResourceRelFor(Class<?> type)
getItemResourceRelFor in interface org.springframework.hateoas.server.LinkRelationProviderpublic org.springframework.hateoas.LinkRelation getCollectionResourceRelFor(Class<?> type)
getCollectionResourceRelFor in interface org.springframework.hateoas.server.LinkRelationProviderCopyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.