Package | Description |
---|---|
org.restlet.engine.resource |
Supports resources.
|
Modifier and Type | Class and Description |
---|---|
class |
MethodAnnotationInfo
Descriptor for method annotations.
|
class |
ThrowableAnnotationInfo
Descriptor for status annotations.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<AnnotationInfo> |
ClientInvocationHandler.getAnnotations()
Returns the annotations of the resource interface.
|
java.util.List<AnnotationInfo> |
AnnotationUtils.getAnnotations(java.lang.Class<?> clazz)
Returns the annotation descriptors for the given resource class.
|
java.util.List<AnnotationInfo> |
AnnotationUtils.getAnnotations(java.lang.Class<?> clazz,
java.lang.reflect.Method javaMethod)
Returns the annotation descriptors for the given resource class.
|
Modifier and Type | Method and Description |
---|---|
MethodAnnotationInfo |
AnnotationUtils.getMethodAnnotation(java.util.List<AnnotationInfo> annotations,
java.lang.reflect.Method javaMethod)
Returns the first annotation descriptor matching the given Java method.
|
MethodAnnotationInfo |
AnnotationUtils.getMethodAnnotation(java.util.List<AnnotationInfo> annotations,
Method restletMethod,
Form query,
Representation entity,
MetadataService metadataService,
ConverterService converterService)
Returns the first annotation descriptor matching the given Restlet
method.
|
Copyright © 2005-2020 Restlet.