Class CompressedContentFormat

java.lang.Object
org.eclipse.jetty.http.CompressedContentFormat

public class CompressedContentFormat extends Object
  • Field Details

  • Constructor Details

    • CompressedContentFormat

      public CompressedContentFormat(String encoding, String extension)
  • Method Details

    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • getEncoding

      public String getEncoding()
    • getExtension

      public String getExtension()
    • getEtagSuffix

      public String getEtagSuffix()
    • getContentEncoding

      public HttpField getContentEncoding()
    • etag

      public String etag(String etag)
      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()
      Overrides:
      hashCode in class Object
    • stripSuffixes

      public String stripSuffixes(String etagsList)
    • toString

      public String toString()
      Overrides:
      toString in class Object