Class CompressedContentFormat
java.lang.Object
org.eclipse.jetty.http.CompressedContentFormat
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final PreEncodedHttpFieldprivate final Stringprivate final Stringprivate final Stringprivate final Stringstatic final CompressedContentFormatstatic final StringThe separator within an etag used to indicate a compressed variant.static final CompressedContentFormatstatic final CompressedContentFormat[] -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanGet an etag with suffix that represents this compressed type.inthashCode()stripSuffixes(String etagsList) static booleanCheck etags for equality, accounting for quoting and compression suffixes.toString()
-
Field Details
-
ETAG_SEPARATOR
The separator within an etag used to indicate a compressed variant. By default the separator is "--" So etag for compressed resource that normally has an etag ofW/"28c772d6"isW/"28c772d6--gzip". The separator may be changed by the "org.eclipse.jetty.http.CompressedContentFormat.ETAG_SEPARATOR" System property. If changed, it should be changed to a string that will not be found in a normal etag or at least is very unlikely to be a substring of a normal etag. -
GZIP
-
BR
-
NONE
-
_encoding
-
_extension
-
_etagSuffix
-
_etagSuffixQuote
-
_contentEncoding
-
-
Constructor Details
-
CompressedContentFormat
-
-
Method Details
-
equals
-
getEncoding
-
getExtension
-
getEtagSuffix
-
getContentEncoding
-
etag
-
hashCode
-
tagEquals
-
stripSuffixes
-
toString
-