Package | Description |
---|---|
org.restlet |
Core classes of the API.
|
org.restlet.resource |
Client and server resource classes.
|
org.restlet.service |
Services used by applications and components.
|
Modifier and Type | Method and Description |
---|---|
MetadataService |
Application.getMetadataService()
Returns the metadata service.
|
Modifier and Type | Method and Description |
---|---|
void |
Application.setMetadataService(MetadataService metadataService)
Sets the metadata service.
|
Modifier and Type | Method and Description |
---|---|
MetadataService |
Resource.getMetadataService()
Returns the application's metadata service or create a new one.
|
Modifier and Type | Method and Description |
---|---|
MetadataService |
StatusService.getMetadataService()
Returns the service used to select the preferred variant.
|
Modifier and Type | Method and Description |
---|---|
Variant |
ConnegService.getPreferredVariant(java.util.List<? extends Variant> variants,
Request request,
MetadataService metadataService)
Returns the best variant representation for a given resource according
the the client preferences.
|
void |
StatusService.setMetadataService(MetadataService metadataService)
Sets the service used to select the preferred variant.
|
Constructor and Description |
---|
StatusService(boolean enabled,
ConverterService converterService,
MetadataService metadataService,
ConnegService connegService)
Constructor.
|
Copyright © 2005-2024 Restlet.