| Package | Description |
|---|---|
| org.restlet |
Core classes of the Restlet API.
|
| org.restlet.engine.adapter |
Adapters between low-level HTTP calls and high-level Restlet Request and
Response objects.
|
| org.restlet.engine.application |
Supports Restlet applications.
|
| org.restlet.engine.header |
Supports HTTP header parsing and formatting.
|
| org.restlet.representation |
Common representation data elements.
|
| org.restlet.resource |
Client and server resource classes.
|
| org.restlet.security |
Classes related to security.
|
| org.restlet.service |
Services used by applications and components.
|
| org.restlet.util |
Various utility classes.
|
| Modifier and Type | Method and Description |
|---|---|
ClientInfo |
Request.getClientInfo()
Returns the client-specific information.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Request.setClientInfo(ClientInfo clientInfo)
Sets the client-specific information.
|
| Modifier and Type | Method and Description |
|---|---|
ClientInfo |
HttpRequest.getClientInfo()
Returns the client-specific information.
|
| Modifier and Type | Method and Description |
|---|---|
Representation |
Encoder.encode(ClientInfo client,
Representation representation)
Encodes a given representation if an encoding is supported by the client.
|
Encoding |
Encoder.getBestEncoding(ClientInfo client)
Returns the best supported encoding for a given client.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
PreferenceReader.addCharacterSets(String acceptCharsetHeader,
ClientInfo clientInfo)
Parses character set preferences from a header.
|
static void |
PreferenceReader.addEncodings(String acceptEncodingHeader,
ClientInfo clientInfo)
Parses encoding preferences from a header.
|
static void |
PreferenceReader.addLanguages(String acceptLanguageHeader,
ClientInfo clientInfo)
Adds language preferences from a header.
|
static void |
PreferenceReader.addMediaTypes(String acceptMediaTypeHeader,
ClientInfo clientInfo)
Parses media type preferences from a header.
|
static void |
PreferenceReader.addPatches(String acceptPatchHeader,
ClientInfo clientInfo)
Parses patch preferences from a header.
|
static void |
ExpectationReader.addValues(String header,
ClientInfo clientInfo)
Adds values to the given collection.
|
| Modifier and Type | Method and Description |
|---|---|
ClientInfo |
Variant.createClientInfo()
Creates a
ClientInfo instance with preferences matching exactly the
current variant. |
| Modifier and Type | Method and Description |
|---|---|
ClientInfo |
Resource.getClientInfo()
Returns the client-specific information.
|
| Modifier and Type | Method and Description |
|---|---|
protected Representation |
ClientResource.handle(Method method,
Representation entity,
ClientInfo clientInfo)
Handles the call by cloning the prototype request, setting the method and
entity.
|
void |
ClientResource.setClientInfo(ClientInfo clientInfo)
Sets the client-specific information.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Enroler.enrole(ClientInfo clientInfo)
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
TunnelService.allowClient(ClientInfo client)
Indicates if the request from a given client can be tunneled.
|
| Modifier and Type | Method and Description |
|---|---|
ClientInfo |
WrapperRequest.getClientInfo()
Returns the client-specific information.
|
| Modifier and Type | Method and Description |
|---|---|
void |
WrapperRequest.setClientInfo(ClientInfo clientInfo) |
Copyright © 2005–2025. All rights reserved.