| Package | Description | 
|---|---|
| org.restlet.data | 
 Information exchanged by components. 
 | 
| org.restlet.representation | 
 Common representation data elements. 
 | 
| org.restlet.service | 
 Services used by applications and components. 
 | 
| org.restlet.util | 
 Various utility classes. 
 | 
| Modifier and Type | Field and Description | 
|---|---|
static Encoding | 
Encoding.ALL
All encodings acceptable. 
 | 
static Encoding | 
Encoding.COMPRESS
The common Unix file compression. 
 | 
static Encoding | 
Encoding.DEFLATE
The zlib format defined by RFC 1950 and 1951. 
 | 
static Encoding | 
Encoding.DEFLATE_NOWRAP
The zlib format defined by RFC 1950 and 1951, without wrapping. 
 | 
static Encoding | 
Encoding.FREEMARKER
The FreeMarker encoding. 
 | 
static Encoding | 
Encoding.GZIP
The GNU Zip encoding. 
 | 
static Encoding | 
Encoding.IDENTITY
The default (identity) encoding. 
 | 
static Encoding | 
Encoding.VELOCITY
The Velocity encoding. 
 | 
static Encoding | 
Encoding.ZIP
The Info-Zip encoding. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Encoding | 
ClientInfo.getPreferredEncoding(java.util.List<Encoding> supported)
Returns the preferred encoding among a list of supported ones, based on
 the client preferences. 
 | 
static Encoding | 
Encoding.valueOf(java.lang.String name)
Returns the encoding associated to a name. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
java.util.List<Preference<Encoding>> | 
ClientInfo.getAcceptedEncodings()
Returns the modifiable list of encoding preferences. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Encoding | 
ClientInfo.getPreferredEncoding(java.util.List<Encoding> supported)
Returns the preferred encoding among a list of supported ones, based on
 the client preferences. 
 | 
void | 
ClientInfo.setAcceptedEncodings(java.util.List<Preference<Encoding>> acceptedEncodings)
Sets the encoding preferences. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
java.util.List<Encoding> | 
Variant.getEncodings()
Returns the modifiable list of encodings applied to the entity-body. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
Variant.setEncodings(java.util.List<Encoding> encodings)
Sets the list of encodings applied to the entity-body. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Encoding | 
MetadataService.getDefaultEncoding()
Returns the default encoding for representations. 
 | 
Encoding | 
MetadataService.getEncoding(java.lang.String extension)
Returns the encoding associated to this extension. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
MetadataService.setDefaultEncoding(Encoding defaultEncoding)
Sets the default encoding for local representations. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
java.util.List<Encoding> | 
WrapperRepresentation.getEncodings()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
WrapperRepresentation.setEncodings(java.util.List<Encoding> encodings)  | 
Copyright © 2005-2024 Restlet.