Uses of Class
org.restlet.data.ClientInfo
-
Packages that use ClientInfo Package Description org.restlet Core classes of the 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.ext.jaas Support for JAAS authentication and authorization framework.org.restlet.ext.nio.internal.request 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
Fields in org.restlet declared as ClientInfo Modifier and Type Field Description private ClientInfoRequest. clientInfoThe client-specific information.Methods in org.restlet that return ClientInfo Modifier and Type Method Description ClientInfoRequest. getClientInfo()Returns the client-specific information.Methods in org.restlet with parameters of type ClientInfo Modifier and Type Method Description voidRequest. setClientInfo(ClientInfo clientInfo)Sets the client-specific information. -
Uses of ClientInfo in org.restlet.engine.adapter
Methods in org.restlet.engine.adapter that return ClientInfo Modifier and Type Method Description ClientInfoHttpRequest. getClientInfo()Returns 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 Description RepresentationEncoder. encode(ClientInfo client, Representation representation)Encodes a given representation if an encoding is supported by the client.EncodingEncoder. getBestEncoding(ClientInfo client)Returns the best supported encoding for a given client.private voidTunnelFilter. updateMetadata(ClientInfo clientInfo, Metadata metadata)Updates the client info with the given metadata. -
Uses of ClientInfo in org.restlet.engine.header
Methods in org.restlet.engine.header with parameters of type ClientInfo Modifier and Type Method Description static voidPreferenceReader. addCharacterSets(java.lang.String acceptCharsetHeader, ClientInfo clientInfo)Parses character set preferences from a header.static voidPreferenceReader. addEncodings(java.lang.String acceptEncodingHeader, ClientInfo clientInfo)Parses encoding preferences from a header.static voidPreferenceReader. addLanguages(java.lang.String acceptLanguageHeader, ClientInfo clientInfo)Adds language preferences from a header.static voidPreferenceReader. addMediaTypes(java.lang.String acceptMediaTypeHeader, ClientInfo clientInfo)Parses media type preferences from a header.static voidPreferenceReader. addPatches(java.lang.String acceptPatchHeader, ClientInfo clientInfo)Parses patch preferences from a header.static voidExpectationReader. addValues(java.lang.String header, ClientInfo clientInfo)Adds values to the given collection. -
Uses of ClientInfo in org.restlet.ext.jaas
Methods in org.restlet.ext.jaas with parameters of type ClientInfo Modifier and Type Method Description static javax.security.auth.SubjectJaasUtils. createSubject(ClientInfo clientInfo)Creates a JAAS subject based on a givenClientInfo.static <T> TJaasUtils. doAsPriviledged(ClientInfo clientInfo, java.security.PrivilegedAction<T> action)Creates a JAAS subject on theClientInfoand uses it to run the action, usingSubject.doAsPrivileged(Subject, PrivilegedAction, AccessControlContext).static <T> TJaasUtils. doAsPriviledged(ClientInfo clientInfo, java.security.PrivilegedAction<T> action, java.security.AccessControlContext acc)Creates a JAAS subject on theClientInfoand uses it to run the action, usingSubject.doAsPrivileged(Subject, PrivilegedAction, AccessControlContext). -
Uses of ClientInfo in org.restlet.ext.nio.internal.request
Methods in org.restlet.ext.nio.internal.request that return ClientInfo Modifier and Type Method Description ClientInfoHttpInboundRequest. getClientInfo()Deprecated.Returns the client-specific information. -
Uses of ClientInfo in org.restlet.representation
Methods in org.restlet.representation that return ClientInfo Modifier and Type Method Description ClientInfoVariant. createClientInfo()Creates aClientInfoinstance 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 Description ClientInfoResource. getClientInfo()Returns the client-specific information.Methods in org.restlet.resource with parameters of type ClientInfo Modifier and Type Method Description protected RepresentationClientResource. handle(Method method, Representation entity, ClientInfo clientInfo)Handles the call by cloning the prototype request, setting the method and entity.voidClientResource. 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 Description voidEnroler. enrole(ClientInfo clientInfo)voidMemoryRealm.DefaultEnroler. enrole(ClientInfo clientInfo) -
Uses of ClientInfo in org.restlet.service
Methods in org.restlet.service with parameters of type ClientInfo Modifier and Type Method Description booleanTunnelService. 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 Description ClientInfoWrapperRequest. getClientInfo()Returns the client-specific information.Methods in org.restlet.util with parameters of type ClientInfo Modifier and Type Method Description voidWrapperRequest. setClientInfo(ClientInfo clientInfo)
-