org.springframework.hateoas.mvc
Class ControllerRelProvider
java.lang.Object
org.springframework.hateoas.mvc.ControllerRelProvider
- All Implemented Interfaces:
- RelProvider, org.springframework.plugin.core.Plugin<Class<?>>
public class ControllerRelProvider
- extends Object
- implements RelProvider
- Author:
- Oliver Gierke
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ControllerRelProvider
public ControllerRelProvider(Class<?> controller,
org.springframework.plugin.core.PluginRegistry<RelProvider,Class<?>> providers)
getCollectionResourceRelFor
public String getCollectionResourceRelFor(Class<?> resource)
- Specified by:
getCollectionResourceRelFor in interface RelProvider
getSingleResourceRelFor
public String getSingleResourceRelFor(Class<?> resource)
- Specified by:
getSingleResourceRelFor in interface RelProvider
supports
public boolean supports(Class<?> delimiter)
- Specified by:
supports in interface org.springframework.plugin.core.Plugin<Class<?>>
Copyright © 2012-2013 SpringSource, a division of VMware. All Rights Reserved.