| Package | Description |
|---|---|
| org.restlet |
Core classes of the Restlet API.
|
| org.restlet.engine.resource |
Supports resources.
|
| org.restlet.resource |
Client and server resource classes.
|
| org.restlet.service |
Services used by applications and components.
|
| 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 |
|---|---|
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.
|
List<Variant> |
MethodAnnotationInfo.getRequestVariants(MetadataService metadataService,
ConverterService converterService)
Returns a list of request variants based on the annotation value.
|
List<Variant> |
MethodAnnotationInfo.getResponseVariants(MetadataService metadataService,
ConverterService converterService)
Returns a list of response variants based on the annotation value.
|
boolean |
MethodAnnotationInfo.isCompatible(Method restletMethod,
Form queryParams,
Representation requestEntity,
MetadataService metadataService,
ConverterService converterService)
Indicates if the annotated method described is compatible with the given
parameters.
|
boolean |
MethodAnnotationInfo.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 |
Resource.getConverterService()
Returns the application's converter service or create a new one.
|
| Modifier and Type | Method and Description |
|---|---|
ConverterService |
StatusService.getConverterService()
Returns the service used to convert between status/throwable and
representation.
|
| Modifier and Type | Method and Description |
|---|---|
void |
StatusService.setConverterService(ConverterService converterService)
Sets the service used to convert between status/throwable and representation.
|
| Constructor and Description |
|---|
StatusService(boolean enabled,
ConverterService converterService,
MetadataService metadataService,
ConnegService connegService)
Constructor.
|
Copyright © 2005–2025. All rights reserved.