DefaultServlet.CompressionFormat (Apache Tomcat 9.0.111 API Documentation)
Description: declaration: package: org.apache.catalina.servlets, class: DefaultServlet, class: CompressionFormat

# Class DefaultServlet.CompressionFormat

java.lang.Object
org.apache.catalina.servlets.DefaultServlet.CompressionFormat

All Implemented Interfaces:
  `Serializable`

Enclosing class:
  `DefaultServlet`

protected static class DefaultServlet.CompressionFormat extends Object implements Serializable

See Also:
  - Serialized Form

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `final String`
  `encoding`
  `final String`
  `extension`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `CompressionFormat(String extension, String encoding)`

- ## Method Summary

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Field Details

  - ### extension

    public final String extension

  - ### encoding

    public final String encoding

- ## Constructor Details

  - ### CompressionFormat

    public CompressionFormat(String extension, String encoding)