Package | Description |
---|---|
org.restlet |
Core classes of the API.
|
org.restlet.engine.resource |
Supports resources.
|
org.restlet.resource |
Client and server resource classes.
|
Modifier and Type | Method and Description |
---|---|
ConverterService |
Application.getConverterService()
Returns the converter service.
|
Modifier and Type | Method and Description |
---|---|
void |
Application.setConverterService(ConverterService converterService)
Sets the converter service.
|
Modifier and Type | Method and Description |
---|---|
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.
|
java.util.List<Variant> |
AnnotationInfo.getRequestVariants(MetadataService metadataService,
ConverterService converterService)
Returns a list of request variants based on the annotation value.
|
java.util.List<Variant> |
AnnotationInfo.getResponseVariants(MetadataService metadataService,
ConverterService converterService)
Returns a list of response variants based on the annotation value.
|
boolean |
AnnotationInfo.isCompatible(Method restletMethod,
Representation requestEntity,
MetadataService metadataService,
ConverterService converterService)
Indicates if the annotated method described is compatible with the given
parameters.
|
boolean |
AnnotationInfo.isCompatibleRequestEntity(Representation requestEntity,
MetadataService metadataService,
ConverterService converterService)
Indicates if the given request entity is compatible with the annotated
method described.
|
Modifier and Type | Method and Description |
---|---|
ConverterService |
UniformResource.getConverterService()
Returns the application's converter service or create a new one.
|
Copyright © 2005-2012. All Rights Reserved.