public final class JerseyResourceLinkGenerator
extends de.otto.jsonhome.generator.ResourceLinkGenerator
| Constructor and Description |
|---|
JerseyResourceLinkGenerator(java.net.URI applicationBaseUri,
java.net.URI relationTypeBaseUri,
java.net.URI varTypeBaseUri,
java.lang.String docRootDir) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
isCandidateForAnalysis(java.lang.reflect.Method method)
Returns true if the method is a candidate for further processing, false otherwise.
|
protected java.lang.String |
resourcePathFor(java.lang.reflect.Method method)
Returns the resource paths for the given method.
|
public JerseyResourceLinkGenerator(java.net.URI applicationBaseUri,
java.net.URI relationTypeBaseUri,
java.net.URI varTypeBaseUri,
java.lang.String docRootDir)
protected boolean isCandidateForAnalysis(java.lang.reflect.Method method)
isCandidateForAnalysis in class de.otto.jsonhome.generator.ResourceLinkGeneratormethod - the method to checkprotected java.lang.String resourcePathFor(java.lang.reflect.Method method)
resourcePathFor in class de.otto.jsonhome.generator.ResourceLinkGeneratormethod - the method of the controller, possibly handling one or more REST resources.