Package org.eclipse.jetty.http
Class CompressedContentFormat
java.lang.Object
org.eclipse.jetty.http.CompressedContentFormat
Deprecated.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final CompressedContentFormat
Deprecated.static final String
Deprecated.The separator within an etag used to indicate a compressed variant.static final CompressedContentFormat
Deprecated.static final CompressedContentFormat[]
Deprecated. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Deprecated.Deprecated.Get an etag with suffix that represents this compressed type.Deprecated.Deprecated.Deprecated.Deprecated.int
hashCode()
Deprecated.stripSuffixes
(String etagsList) Deprecated.static boolean
Deprecated.Check etags for equality, accounting for quoting and compression suffixes.toString()
Deprecated.
-
Field Details
-
ETAG_SEPARATOR
Deprecated.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
Deprecated. -
BR
Deprecated. -
NONE
Deprecated.
-
-
Constructor Details
-
CompressedContentFormat
Deprecated.
-
-
Method Details
-
equals
Deprecated. -
getEncoding
Deprecated. -
getExtension
Deprecated. -
getEtagSuffix
Deprecated. -
getContentEncoding
Deprecated. -
etag
Deprecated.Get an etag with suffix that represents this compressed type.- Parameters:
etag
- An etag- Returns:
- An etag with compression suffix, or the etag itself if no suffix is configured.
-
hashCode
public int hashCode()Deprecated. -
tagEquals
Deprecated.Check etags for equality, accounting for quoting and compression suffixes.- Parameters:
etag
- An etag without a compression suffixetagWithSuffix
- An etag optionally with a compression suffix.- Returns:
- True if the tags are equal.
-
stripSuffixes
Deprecated. -
toString
Deprecated.
-