|
Spring Hateoas | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.hateoas.LinkDiscoverers
public class LinkDiscoverers
Value object to wrap a PluginRegistry for LinkDiscoverer so that it's easier to inject them into
clients wanting to lookup a LinkDiscoverer for a given MediaTypes.
| Constructor Summary | |
|---|---|
LinkDiscoverers(org.springframework.plugin.core.PluginRegistry<LinkDiscoverer,MediaType> discoverers)
Creates a new LinkDiscoverers instance with the given PluginRegistry. |
|
| Method Summary | |
|---|---|
LinkDiscoverer |
getLinkDiscovererFor(MediaType mediaType)
Returns the LinkDiscoverer suitable for the given MediaType. |
LinkDiscoverer |
getLinkDiscovererFor(String mediaType)
Returns the LinkDiscoverer suitable for the given media type. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LinkDiscoverers(org.springframework.plugin.core.PluginRegistry<LinkDiscoverer,MediaType> discoverers)
LinkDiscoverers instance with the given PluginRegistry.
discoverers - must not be null.| Method Detail |
|---|
public LinkDiscoverer getLinkDiscovererFor(MediaType mediaType)
LinkDiscoverer suitable for the given MediaType.
mediaType -
public LinkDiscoverer getLinkDiscovererFor(String mediaType)
LinkDiscoverer suitable for the given media type.
mediaType -
|
Spring Hateoas | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||