Uses of Class
org.restlet.data.Encoding
Packages that use Encoding
Package
Description
Information exchanged by components.
Supports Restlet applications.
Supports HTTP header parsing and formatting.
Common representation data elements.
Services used by applications and components.
Various utility classes.
-
Uses of Encoding in org.restlet.data
Fields in org.restlet.data declared as EncodingModifier and TypeFieldDescriptionstatic final EncodingEncoding.ALLAll encodings acceptable.static final EncodingEncoding.COMPRESSThe common Unix file compression.static final EncodingEncoding.DEFLATEThe zlib format defined by RFC 1950 and 1951.static final EncodingEncoding.DEFLATE_NOWRAPThe zlib format defined by RFC 1950 and 1951, without wrapping.static final EncodingEncoding.FREEMARKERThe FreeMarker encoding.static final EncodingEncoding.GZIPThe GNU Zip encoding.static final EncodingEncoding.IDENTITYThe default (identity) encoding.static final EncodingEncoding.VELOCITYThe Velocity encoding.static final EncodingEncoding.ZIPThe Info-Zip encoding.Methods in org.restlet.data that return EncodingModifier and TypeMethodDescriptionClientInfo.getPreferredEncoding(List<Encoding> supported) Returns the preferred encoding among a list of supported ones, based on the client preferences.static EncodingReturns the encoding associated to a name.Methods in org.restlet.data that return types with arguments of type EncodingModifier and TypeMethodDescriptionClientInfo.getAcceptedEncodings()Returns the modifiable list of encoding preferences.Method parameters in org.restlet.data with type arguments of type EncodingModifier and TypeMethodDescriptionClientInfo.getPreferredEncoding(List<Encoding> supported) Returns the preferred encoding among a list of supported ones, based on the client preferences.voidClientInfo.setAcceptedEncodings(List<Preference<Encoding>> acceptedEncodings) Sets the encoding preferences. -
Uses of Encoding in org.restlet.engine.application
Methods in org.restlet.engine.application that return EncodingModifier and TypeMethodDescriptionEncoder.getBestEncoding(ClientInfo client) Returns the best supported encoding for a given client.MetadataExtension.getEncoding()Returns the encoding.Methods in org.restlet.engine.application that return types with arguments of type EncodingModifier and TypeMethodDescriptionprotected List<Preference<Encoding>>FlexibleConneg.getEncodingPrefs()Returns the enriched list of encoding preferences.protected List<Preference<Encoding>>StrictConneg.getEncodingPrefs()Returns the enriched list of encoding preferences.DecodeRepresentation.getEncodings()Returns the encodings applied to the entity.EncodeRepresentation.getEncodings()Returns the applied encodings.DecodeRepresentation.getSupportedEncodings()Returns the list of supported encodings.Encoder.getSupportedEncodings()Returns the list of supported encodings.EncodeRepresentation.getSupportedEncodings()Returns the list of supported encodings.Method parameters in org.restlet.engine.application with type arguments of type EncodingModifier and TypeMethodDescriptionfloatStrictConneg.scoreEncodings(List<Encoding> encodings) Scores encodings relatively to enriched client preferences.Constructors in org.restlet.engine.application with parameters of type EncodingModifierConstructorDescriptionEncodeRepresentation(Encoding encoding, Representation wrappedRepresentation) Constructor. -
Uses of Encoding in org.restlet.engine.header
Methods in org.restlet.engine.header that return EncodingMethods in org.restlet.engine.header with parameters of type EncodingModifier and TypeMethodDescriptionprotected booleanEncodingReader.canAdd(Encoding value, Collection<Encoding> values) protected booleanMethod parameters in org.restlet.engine.header with type arguments of type Encoding -
Uses of Encoding in org.restlet.representation
Methods in org.restlet.representation that return types with arguments of type EncodingModifier and TypeMethodDescriptionVariant.getEncodings()Returns the modifiable list of encodings applied to the entity-body.Method parameters in org.restlet.representation with type arguments of type EncodingModifier and TypeMethodDescriptionvoidVariant.setEncodings(List<Encoding> encodings) Sets the list of encodings applied to the entity-body.
Note that when used with HTTP connectors, this property maps to the "Content-Encoding" header. -
Uses of Encoding in org.restlet.service
Methods in org.restlet.service that return EncodingModifier and TypeMethodDescriptionMetadataService.getDefaultEncoding()Returns the default encoding for representations.MetadataService.getEncoding(String extension) Returns the encoding associated to this extension.Methods in org.restlet.service with parameters of type EncodingModifier and TypeMethodDescriptionvoidMetadataService.setDefaultEncoding(Encoding defaultEncoding) Sets the default encoding for local representations. -
Uses of Encoding in org.restlet.util
Methods in org.restlet.util that return types with arguments of type EncodingMethod parameters in org.restlet.util with type arguments of type EncodingModifier and TypeMethodDescriptionvoidWrapperRepresentation.setEncodings(List<Encoding> encodings)