public class AnnotationInfo
extends java.lang.Object
| Constructor and Description | 
|---|
AnnotationInfo(Method restletMethod,
              java.lang.reflect.Method javaMethod,
              java.lang.String value)
Constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
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. 
 | 
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.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()
Copyright © 2005-2024 Restlet.