|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.restlet.rebind.AnnotationInfo
public class AnnotationInfo
Descriptor for method annotations.
Constructor Summary | |
---|---|
AnnotationInfo(Method restletMethod,
java.lang.reflect.Method javaMethod,
java.lang.String value)
Constructor. |
Method Summary | |
---|---|
java.lang.Class<?>[] |
getJavaInputTypes()
Returns the input types of the Java method. |
java.lang.reflect.Method |
getJavaMethod()
Returns the annotated Java method. |
java.lang.Class<?> |
getJavaOutputType()
Returns the output type of the Java method. |
java.util.List<Variant> |
getRequestVariants(MetadataService metadataService)
Returns a list of request variants based on the annotation value. |
Method |
getRestletMethod()
Returns the matching Restlet method. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AnnotationInfo(Method restletMethod, java.lang.reflect.Method javaMethod, java.lang.String value)
restletMethod
- The matching Restlet method.javaMethod
- The annotated Java method.value
- The annotation value.Method Detail |
---|
public java.lang.Class<?>[] getJavaInputTypes()
public java.lang.reflect.Method getJavaMethod()
public java.lang.Class<?> getJavaOutputType()
public java.util.List<Variant> getRequestVariants(MetadataService metadataService)
metadataService
- The metadata service to use.
public Method getRestletMethod()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |