public class AnnotationInfo extends Object
Constructor and Description |
---|
AnnotationInfo(Method restletMethod,
Method javaMethod,
String value)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Class<?>[] |
getJavaInputTypes()
Returns the input types of the Java method.
|
Method |
getJavaMethod()
Returns the annotated Java method.
|
Class<?> |
getJavaOutputType()
Returns the output type of the Java method.
|
List<Variant> |
getRequestVariants(MetadataService metadataService)
Returns a list of request variants based on the annotation value.
|
Method |
getRestletMethod()
Returns the matching Restlet method.
|
public Class<?>[] getJavaInputTypes()
public Method getJavaMethod()
public Class<?> getJavaOutputType()
public List<Variant> getRequestVariants(MetadataService metadataService)
metadataService
- The metadata service to use.public Method getRestletMethod()
Copyright © 2005-2014 Restlet.