## Uses of Class
org.restlet.data.ClientInfo

Packages that use ClientInfo
Package | Description
--- | ---
org.restlet | Core classes of the API.
org.restlet.engine.application | Supports Restlet applications.
org.restlet.engine.http | Supports HTTP connectors.
org.restlet.engine.http.connector | New advanced internal HTTP connector.
org.restlet.engine.http.header | Supports HTTP header parsing and formatting.
org.restlet.engine.util | General utilities.
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.

### Uses of ClientInfo in org.restlet

Methods in org.restlet that return ClientInfo
Modifier and Type | Method and Description
--- | ---
`ClientInfo` | Request.`getClientInfo()` Returns the client-specific information.

Methods in org.restlet with parameters of type ClientInfo
Modifier and Type | Method and Description
--- | ---
`void` | Request.`setClientInfo(ClientInfo clientInfo)` Sets the client-specific information.

### Uses of ClientInfo in org.restlet.engine.application

Methods in org.restlet.engine.application with parameters of type ClientInfo
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.

### Uses of ClientInfo in org.restlet.engine.http

Methods in org.restlet.engine.http that return ClientInfo
Modifier and Type | Method and Description
--- | ---
`ClientInfo` | HttpRequest.`getClientInfo()` Returns the client-specific information.

### Uses of ClientInfo in org.restlet.engine.http.connector

Methods in org.restlet.engine.http.connector that return ClientInfo
Modifier and Type | Method and Description
--- | ---
`ClientInfo` | ConnectedRequest.`getClientInfo()` Returns the client-specific information.

### Uses of ClientInfo in org.restlet.engine.http.header

Methods in org.restlet.engine.http.header with parameters of type ClientInfo
Modifier and Type | Method and Description
--- | ---
`static void` | PreferenceReader.`addCharacterSets(java.lang.String acceptCharsetHeader, ClientInfo clientInfo)` Parses character set preferences from a header.
`static void` | PreferenceReader.`addEncodings(java.lang.String acceptEncodingHeader, ClientInfo clientInfo)` Parses encoding preferences from a header.
`static void` | PreferenceReader.`addLanguages(java.lang.String acceptLanguageHeader, ClientInfo clientInfo)` Adds language preferences from a header.
`static void` | PreferenceReader.`addMediaTypes(java.lang.String acceptMediaTypeHeader, ClientInfo clientInfo)` Parses media type preferences from a header.
`static void` | ExpectationReader.`addValues(java.lang.String header, ClientInfo clientInfo)` Adds values to the given collection.

### Uses of ClientInfo in org.restlet.engine.util

Methods in org.restlet.engine.util that return ClientInfo
Modifier and Type | Method and Description
--- | ---
`protected ClientInfo` | Conneg.`getClientInfo()` Returns the client preferences.

Methods in org.restlet.engine.util with parameters of type ClientInfo
Modifier and Type | Method and Description
--- | ---
`static Variant` | ConnegUtils.`getPreferredVariant(ClientInfo clientInfo, java.util.List<? extends Variant> variants, MetadataService metadataService)` Returns the best variant representation for a given resource according the the client preferences. A default language is provided in case the variants don't match the client preferences.

Constructors in org.restlet.engine.util with parameters of type ClientInfo
Constructor and Description
`Conneg(ClientInfo clientInfo, MetadataService metadataService)` Constructor.

### Uses of ClientInfo in org.restlet.representation

Methods in org.restlet.representation that return ClientInfo
Modifier and Type | Method and Description
--- | ---
`ClientInfo` | Variant.`createClientInfo()` Creates a `ClientInfo` instance with preferences matching exactly the current variant.

### Uses of ClientInfo in org.restlet.resource

Methods in org.restlet.resource that return ClientInfo
Modifier and Type | Method and Description
--- | ---
`ClientInfo` | UniformResource.`getClientInfo()` Returns the client-specific information.

Methods in org.restlet.resource with parameters of type ClientInfo
Modifier and Type | Method and Description
--- | ---
`void` | ClientResource.`setClientInfo(ClientInfo clientInfo)` Sets the client-specific information.

### Uses of ClientInfo in org.restlet.security

Methods in org.restlet.security with parameters of type ClientInfo
Modifier and Type | Method and Description
--- | ---
`void` | Enroler.`enrole(ClientInfo clientInfo)` Attempts to update an authenticated client, with a `User` properly defined, by adding the `Role` that are assigned to this user.

### Uses of ClientInfo in org.restlet.service

Methods in org.restlet.service with parameters of type ClientInfo
Modifier and Type | Method and Description
--- | ---
`boolean` | TunnelService.`allowClient(ClientInfo client)` Indicates if the request from a given client can be tunneled.

### Uses of ClientInfo in org.restlet.util

Methods in org.restlet.util that return ClientInfo
Modifier and Type | Method and Description
--- | ---
`ClientInfo` | WrapperRequest.`getClientInfo()` Returns the client-specific information.

Methods in org.restlet.util with parameters of type ClientInfo
Modifier and Type | Method and Description
--- | ---
`void` | WrapperRequest.`setClientInfo(ClientInfo clientInfo)`