Uses of Class
org.restlet.data.Encoding
-
Packages that use Encoding Package Description org.restlet.data Information exchanged by components.org.restlet.engine.application Supports Restlet applications.org.restlet.engine.header Supports HTTP header parsing and formatting.org.restlet.ext.xml Support for XML and XSLT representations.org.restlet.representation Common representation data elements.org.restlet.service Services used by applications and components.org.restlet.util Various utility classes. -
-
Uses of Encoding in org.restlet.data
Fields in org.restlet.data declared as Encoding Modifier and Type Field Description static EncodingEncoding. ALLAll encodings acceptable.static EncodingEncoding. COMPRESSThe common Unix file compression.static EncodingEncoding. DEFLATEThe zlib format defined by RFC 1950 and 1951.static EncodingEncoding. DEFLATE_NOWRAPThe zlib format defined by RFC 1950 and 1951, without wrapping.static EncodingEncoding. FREEMARKERThe FreeMarker encoding.static EncodingEncoding. GZIPThe GNU Zip encoding.static EncodingEncoding. IDENTITYThe default (identity) encoding.static EncodingEncoding. VELOCITYThe Velocity encoding.static EncodingEncoding. ZIPThe Info-Zip encoding.Fields in org.restlet.data with type parameters of type Encoding Modifier and Type Field Description private java.util.List<Preference<Encoding>>ClientInfo. acceptedEncodingsThe encoding preferences.Methods in org.restlet.data that return Encoding Modifier and Type Method Description EncodingClientInfo. getPreferredEncoding(java.util.List<Encoding> supported)Returns the preferred encoding among a list of supported ones, based on the client preferences.static EncodingEncoding. valueOf(java.lang.String name)Returns the encoding associated to a name.Methods in org.restlet.data that return types with arguments of type Encoding Modifier and Type Method Description java.util.List<Preference<Encoding>>ClientInfo. getAcceptedEncodings()Returns the modifiable list of encoding preferences.Method parameters in org.restlet.data with type arguments of type Encoding Modifier and Type Method Description EncodingClientInfo. getPreferredEncoding(java.util.List<Encoding> supported)Returns the preferred encoding among a list of supported ones, based on the client preferences.voidClientInfo. setAcceptedEncodings(java.util.List<Preference<Encoding>> acceptedEncodings)Sets the encoding preferences. -
Uses of Encoding in org.restlet.engine.application
Fields in org.restlet.engine.application declared as Encoding Modifier and Type Field Description private EncodingEncodeRepresentation. encodingThe encoding to apply.Fields in org.restlet.engine.application with type parameters of type Encoding Modifier and Type Field Description private java.util.List<Preference<Encoding>>FlexibleConneg. encodingPrefsThe enriched list of encoding preferences.private java.util.List<Encoding>EncodeRepresentation. encodingsThe applied encodings.private java.util.List<Encoding>DecodeRepresentation. wrappedEncodingsList of encodings still applied to the decodeRepresentationMethods in org.restlet.engine.application that return Encoding Modifier and Type Method Description EncodingEncoder. getBestEncoding(ClientInfo client)Returns the best supported encoding for a given client.EncodingMetadataExtension. getEncoding()Returns the encoding.Methods in org.restlet.engine.application that return types with arguments of type Encoding Modifier and Type Method Description protected java.util.List<Preference<Encoding>>FlexibleConneg. getEncodingPrefs()Returns the enriched list of encoding preferences.protected java.util.List<Preference<Encoding>>StrictConneg. getEncodingPrefs()Returns the enriched list of encoding preferences.java.util.List<Encoding>DecodeRepresentation. getEncodings()Returns the encodings applied to the entity.java.util.List<Encoding>EncodeRepresentation. getEncodings()Returns the applied encodings.static java.util.List<Encoding>DecodeRepresentation. getSupportedEncodings()Returns the list of supported encodings.java.util.List<Encoding>Encoder. getSupportedEncodings()Returns the list of supported encodings.static java.util.List<Encoding>EncodeRepresentation. getSupportedEncodings()Returns the list of supported encodings.Methods in org.restlet.engine.application with parameters of type Encoding Modifier and Type Method Description private java.io.InputStreamDecodeRepresentation. getDecodedStream(Encoding encoding, java.io.InputStream encodedStream)Returns a decoded stream for a given encoding and coded stream.Method parameters in org.restlet.engine.application with type arguments of type Encoding Modifier and Type Method Description floatStrictConneg. scoreEncodings(java.util.List<Encoding> encodings)Scores encodings relatively to enriched client preferences.Constructors in org.restlet.engine.application with parameters of type Encoding Constructor Description EncodeRepresentation(Encoding encoding, Representation wrappedRepresentation)Constructor. -
Uses of Encoding in org.restlet.engine.header
Methods in org.restlet.engine.header that return Encoding Modifier and Type Method Description EncodingEncodingReader. readValue()Methods in org.restlet.engine.header with parameters of type Encoding Modifier and Type Method Description protected booleanEncodingReader. canAdd(Encoding value, java.util.Collection<Encoding> values)protected booleanEncodingWriter. canWrite(Encoding encoding)Method parameters in org.restlet.engine.header with type arguments of type Encoding Modifier and Type Method Description protected booleanEncodingReader. canAdd(Encoding value, java.util.Collection<Encoding> values)static java.lang.StringEncodingWriter. write(java.util.List<Encoding> encodings)Writes a list of encodings. -
Uses of Encoding in org.restlet.ext.xml
Fields in org.restlet.ext.xml with type parameters of type Encoding Modifier and Type Field Description private java.util.List<Encoding>Transformer. resultEncodingsThe encodings of the result representation.Methods in org.restlet.ext.xml that return types with arguments of type Encoding Modifier and Type Method Description java.util.List<Encoding>Transformer. getResultEncodings()Returns the modifiable list of encodings of the result representation.Method parameters in org.restlet.ext.xml with type arguments of type Encoding Modifier and Type Method Description voidTransformer. setResultEncodings(java.util.List<Encoding> resultEncodings)Sets the encodings of the result representation. -
Uses of Encoding in org.restlet.representation
Fields in org.restlet.representation with type parameters of type Encoding Modifier and Type Field Description private java.util.List<Encoding>Variant. encodingsThe additional content codings applied to the entity-body.Methods in org.restlet.representation that return types with arguments of type Encoding Modifier and Type Method Description java.util.List<Encoding>Variant. getEncodings()Returns the modifiable list of encodings applied to the entity-body.Method parameters in org.restlet.representation with type arguments of type Encoding Modifier and Type Method Description voidVariant. setEncodings(java.util.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
Fields in org.restlet.service declared as Encoding Modifier and Type Field Description private EncodingMetadataService. defaultEncodingThe default encoding for representations.Methods in org.restlet.service that return Encoding Modifier and Type Method Description EncodingMetadataService. getDefaultEncoding()Returns the default encoding for representations.EncodingMetadataService. getEncoding(java.lang.String extension)Returns the encoding associated to this extension.Methods in org.restlet.service with parameters of type Encoding Modifier and Type Method Description voidMetadataService. 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 Encoding Modifier and Type Method Description java.util.List<Encoding>WrapperRepresentation. getEncodings()Method parameters in org.restlet.util with type arguments of type Encoding Modifier and Type Method Description voidWrapperRepresentation. setEncodings(java.util.List<Encoding> encodings)
-