A representation of the Accept-Encoding header
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
Members list
Value members
Concrete methods
Returns true if and only if the encoding is accepted by this Accept-Encoding header.
Returns true if and only if the encoding is accepted by this Accept-Encoding header.
Attributes
Given a list of encoding names, choose the most preferred by the client. If several encodings are equally preferred, choose the one first in the list.
Given a list of encoding names, choose the most preferred by the client. If several encodings are equally preferred, choose the one first in the list.
Note that this chooses not to handle the "*" value, since its presence does not tell us if the client supports the specific encoding.
Attributes
Concrete fields
Returns true if we can safely fall back to the identity encoding if no supported encoding is found.
Returns true if we can safely fall back to the identity encoding if no supported encoding is found.
Attributes
A list of encoding preferences, sorted from most to least preferred, and normalized to lowercase names.
A list of encoding preferences, sorted from most to least preferred, and normalized to lowercase names.