| Package | Description |
|---|---|
| org.restlet.engine.application |
Supports Restlet applications.
|
| org.restlet.engine.resource |
Supports resources.
|
| org.restlet.resource |
Client and server resource classes.
|
| Modifier and Type | Method and Description |
|---|---|
protected float |
StrictConneg.scoreAnnotation(MethodAnnotationInfo annotation)
Scores the annotation descriptor.
|
| Modifier and Type | Method and Description |
|---|---|
MethodAnnotationInfo |
VariantInfo.getAnnotationInfo()
Returns the optional annotation descriptor.
|
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.
|
| Constructor and Description |
|---|
VariantInfo(MediaType mediaType,
MethodAnnotationInfo annotationInfo)
Constructor.
|
VariantInfo(Variant variant,
MethodAnnotationInfo annotationInfo)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected MethodAnnotationInfo |
ServerResource.getAnnotation(Method method)
Returns the first annotation descriptor matching the given method.
|
protected MethodAnnotationInfo |
ServerResource.getAnnotation(Method method,
Form query,
Representation entity)
Returns the first annotation descriptor matching the given method.
|
| Modifier and Type | Method and Description |
|---|---|
protected Representation |
ServerResource.doHandle(MethodAnnotationInfo annotationInfo,
Variant variant)
Effectively handles a call with content negotiation of the response entity
using an annotated method.
|
Copyright © 2005–2025. All rights reserved.