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