Package | Description |
---|---|
org.restlet.engine.resource |
Supports resources.
|
Modifier and Type | Method and Description |
---|---|
static AnnotationInfo |
AnnotationUtils.getAnnotation(java.util.List<AnnotationInfo> annotations,
java.lang.reflect.Method javaMethod)
Returns the first annotation descriptor matching the given Java method.
|
static AnnotationInfo |
AnnotationUtils.getAnnotation(java.util.List<AnnotationInfo> annotations,
Method restletMethod,
Representation entity,
MetadataService metadataService,
ConverterService converterService)
Returns the first annotation descriptor matching the given Restlet
method.
|
AnnotationInfo |
VariantInfo.getAnnotationInfo()
Returns the optional annotation descriptor.
|
Modifier and Type | Method and Description |
---|---|
static java.util.List<AnnotationInfo> |
AnnotationUtils.getAnnotations(java.lang.Class<?> clazz)
Returns the annotation descriptors for the given resource class.
|
static 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 |
---|---|
static AnnotationInfo |
AnnotationUtils.getAnnotation(java.util.List<AnnotationInfo> annotations,
java.lang.reflect.Method javaMethod)
Returns the first annotation descriptor matching the given Java method.
|
static AnnotationInfo |
AnnotationUtils.getAnnotation(java.util.List<AnnotationInfo> annotations,
Method restletMethod,
Representation entity,
MetadataService metadataService,
ConverterService converterService)
Returns the first annotation descriptor matching the given Restlet
method.
|
Constructor and Description |
---|
VariantInfo(MediaType mediaType,
AnnotationInfo annotationInfo)
Constructor.
|
VariantInfo(Variant variant,
AnnotationInfo annotationInfo)
Constructor.
|
Copyright © 2005-2012. All Rights Reserved.