Package | Description |
---|---|
org.restlet.engine.application | |
org.restlet.engine.resource |
Modifier and Type | Method and Description |
---|---|
protected float |
StrictConneg.scoreAnnotation(AnnotationInfo annotation)
Scores the annotation descriptor.
|
Modifier and Type | Method and Description |
---|---|
static AnnotationInfo |
AnnotationUtils.getAnnotation(List<AnnotationInfo> annotations,
Method javaMethod)
Returns the first annotation descriptor matching the given Java method.
|
static AnnotationInfo |
AnnotationUtils.getAnnotation(List<AnnotationInfo> annotations,
Method restletMethod,
Form query,
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 |
---|---|
List<AnnotationInfo> |
ClientInvocationHandler.getAnnotations()
Returns the annotations of the resource interface.
|
static List<AnnotationInfo> |
AnnotationUtils.getAnnotations(Class<?> clazz)
Returns the annotation descriptors for the given resource class.
|
static List<AnnotationInfo> |
AnnotationUtils.getAnnotations(Class<?> clazz,
Method javaMethod)
Returns the annotation descriptors for the given resource class.
|
Modifier and Type | Method and Description |
---|---|
static AnnotationInfo |
AnnotationUtils.getAnnotation(List<AnnotationInfo> annotations,
Method javaMethod)
Returns the first annotation descriptor matching the given Java method.
|
static AnnotationInfo |
AnnotationUtils.getAnnotation(List<AnnotationInfo> annotations,
Method restletMethod,
Form query,
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–2013. All rights reserved.