Class WebXmlMimeMapping

java.lang.Object
cloud.piranha.webapp.impl.WebXmlMimeMapping

public class WebXmlMimeMapping extends Object
The web.xml mime-mapping.
Author:
Manfred Riem ([email protected])
  • Constructor Details

    • WebXmlMimeMapping

      public WebXmlMimeMapping(String extension, String mimeType)
      Constructor.
      Parameters:
      extension - the extension.
      mimeType - the mime type.
  • Method Details

    • getExtension

      public String getExtension()
      Returns the extension.
      Returns:
      the extension
    • getMimeType

      public String getMimeType()
      Returns the mime type.
      Returns:
      the mime type