|
Restlet Framework 2.2.3 Google Web Toolkit |
|||||||||
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,
Method javaMethod,
String value)
Constructor. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AnnotationInfo(Method restletMethod, Method javaMethod, String value)
restletMethod
- The matching Restlet method.javaMethod
- The annotated Java method.value
- The annotation value.Method Detail |
---|
public Class<?>[] getJavaInputTypes()
public Method getJavaMethod()
public Class<?> getJavaOutputType()
public List<Variant> getRequestVariants(MetadataService metadataService)
metadataService
- The metadata service to use.
public Method getRestletMethod()
|
Restlet Framework 2.2.3 Google Web Toolkit |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |