Package | Description |
---|---|
org.restlet | |
org.restlet.engine.resource | |
org.restlet.resource | |
org.restlet.service |
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–2016. All rights reserved.