| Package | Description | 
|---|---|
| org.restlet.client.data | 
 Information exchanged by components. 
 | 
| org.restlet.client.representation | 
 Common representation data elements. 
 | 
| org.restlet.client.service | 
 Services used by applications and components. 
 | 
| org.restlet.client.util | 
 Various utility classes. 
 | 
| Modifier and Type | Field and Description | 
|---|---|
static CharacterSet | 
CharacterSet.ALL
All character sets acceptable. 
 | 
static CharacterSet | 
CharacterSet.DEFAULT  | 
static CharacterSet | 
CharacterSet.ISO_8859_1
The ISO/IEC 8859-1 (Latin 1) character set. 
 | 
static CharacterSet | 
CharacterSet.ISO_8859_10
The ISO/IEC 8859-10 (Latin 6) character set. 
 | 
static CharacterSet | 
CharacterSet.ISO_8859_2
The ISO/IEC 8859-2 (Latin 2) character set. 
 | 
static CharacterSet | 
CharacterSet.ISO_8859_3
The ISO/IEC 8859-3 (Latin 3) character set. 
 | 
static CharacterSet | 
CharacterSet.ISO_8859_4
The ISO/IEC 8859-4 (Latin 4) character set. 
 | 
static CharacterSet | 
CharacterSet.ISO_8859_5
The ISO/IEC 8859-5 (Cyrillic) character set. 
 | 
static CharacterSet | 
CharacterSet.ISO_8859_6
The ISO/IEC 8859-6 (Arabic) character set. 
 | 
static CharacterSet | 
CharacterSet.ISO_8859_7
The ISO/IEC 8859-7 (Greek) character set. 
 | 
static CharacterSet | 
CharacterSet.ISO_8859_8
The ISO/IEC 8859-8 (Hebrew) character set. 
 | 
static CharacterSet | 
CharacterSet.ISO_8859_9
The ISO/IEC 8859-9 (Latin 5) character set. 
 | 
static CharacterSet | 
CharacterSet.MACINTOSH
The Macintosh ("Mac OS Roman") character set. 
 | 
static CharacterSet | 
CharacterSet.US_ASCII
The US-ASCII character set. 
 | 
static CharacterSet | 
CharacterSet.UTF_16
The UTF-16 character set. 
 | 
static CharacterSet | 
CharacterSet.UTF_8
The UTF-8 character set. 
 | 
static CharacterSet | 
CharacterSet.WINDOWS_1252
The Windows-1252 ('ANSI') character set. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static CharacterSet | 
CharacterSet.valueOf(java.lang.String name)
Returns the character set associated to a name. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
java.util.List<Preference<CharacterSet>> | 
ClientInfo.getAcceptedCharacterSets()
Returns the modifiable list of character set preferences. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static java.lang.String | 
Reference.decode(java.lang.String toDecode,
      CharacterSet characterSet)
Decodes a given string using the standard URI encoding mechanism. 
 | 
void | 
Parameter.encode(java.lang.Appendable buffer,
      CharacterSet characterSet)
Encodes the parameter into the target buffer. 
 | 
java.lang.String | 
Form.encode(CharacterSet characterSet)
URL encodes the form. 
 | 
java.lang.String | 
Parameter.encode(CharacterSet characterSet)
Encodes the parameter as a string. 
 | 
java.lang.String | 
Form.encode(CharacterSet characterSet,
      char separator)
URL encodes the form. 
 | 
static java.lang.String | 
Reference.encode(java.lang.String toEncode,
      boolean queryString,
      CharacterSet characterSet)
Encodes a given string using the standard URI encoding mechanism and the
 UTF-8 character set. 
 | 
static java.lang.String | 
Reference.encode(java.lang.String toEncode,
      CharacterSet characterSet)
Encodes a given string using the standard URI encoding mechanism. 
 | 
Form | 
Reference.getMatrixAsForm(CharacterSet characterSet)
Returns the optional matrix as a form submission. 
 | 
java.lang.String | 
Form.getMatrixString(CharacterSet characterSet)
Formats the form as a query string. 
 | 
Form | 
Reference.getQueryAsForm(CharacterSet characterSet)
Returns the optional query component as a form submission. 
 | 
java.lang.String | 
Form.getQueryString(CharacterSet characterSet)
Formats the form as a query string. 
 | 
Representation | 
Form.getWebRepresentation(CharacterSet characterSet)
Returns the form as a Web representation
 (MediaType.APPLICATION_WWW_FORM). 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
ClientInfo.setAcceptedCharacterSets(java.util.List<Preference<CharacterSet>> acceptedCharacterSets)
Sets the character set preferences. 
 | 
| Constructor and Description | 
|---|
Form(java.lang.String queryString,
    CharacterSet characterSet)
Constructor. 
 | 
Form(java.lang.String queryString,
    CharacterSet characterSet,
    boolean decode)
Constructor. 
 | 
Form(java.lang.String parametersString,
    CharacterSet characterSet,
    char separator)
Constructor. 
 | 
Form(java.lang.String parametersString,
    CharacterSet characterSet,
    char separator,
    boolean decode)
Constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
CharacterSet | 
Variant.getCharacterSet()
Returns the character set or null if not applicable. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
StringRepresentation.setCharacterSet(CharacterSet characterSet)  | 
void | 
Variant.setCharacterSet(CharacterSet characterSet)
Sets the character set or null if not applicable. 
 | 
| Constructor and Description | 
|---|
StringRepresentation(java.lang.CharSequence text,
                    MediaType mediaType,
                    Language language,
                    CharacterSet characterSet)
Constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
CharacterSet | 
MetadataService.getCharacterSet(java.lang.String extension)
Returns the character set associated to this extension. 
 | 
CharacterSet | 
MetadataService.getDefaultCharacterSet()
Returns the default character set for textual representations. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
java.util.List<CharacterSet> | 
MetadataService.getAllCharacterSets(java.lang.String extension)
Returns all the character sets associated to this extension. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
MetadataService.setDefaultCharacterSet(CharacterSet defaultCharacterSet)
Sets the default character set for local representations. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
CharacterSet | 
WrapperRepresentation.getCharacterSet()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
WrapperRepresentation.setCharacterSet(CharacterSet characterSet)  | 
Copyright © 2005-2024 Restlet.