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 |
---|---|
static Subject |
JaasUtils.createSubject(ClientInfo clientInfo)
Creates a JAAS subject based on a given
ClientInfo . |
static <T> T |
JaasUtils.doAsPriviledged(ClientInfo clientInfo,
PrivilegedAction<T> action)
Creates a JAAS subject on the
ClientInfo and uses it to run the
action, using
Subject.doAsPrivileged(Subject, PrivilegedAction, AccessControlContext)
. |
static <T> T |
JaasUtils.doAsPriviledged(ClientInfo clientInfo,
PrivilegedAction<T> action,
AccessControlContext acc)
Creates a JAAS subject on the
ClientInfo and uses it to run the
action, using
Subject.doAsPrivileged(Subject, PrivilegedAction, AccessControlContext)
. |
Modifier and Type | Method and Description |
---|---|
ClientInfo |
HttpInboundRequest.getClientInfo()
Returns the client-specific information.
|
Modifier and Type | Method and Description |
---|---|
ClientInfo |
SipInboundRequest.getClientInfo()
Deprecated.
Returns the client-specific information.
|
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–2016. All rights reserved.