Class WebXmlMimeMapping

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

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

    Constructors 
    Constructor Description
    WebXmlMimeMapping​(java.lang.String extension, java.lang.String mimeType)
    Constructor.
  • Method Summary

    Modifier and Type Method Description
    java.lang.String getExtension()
    Get the extension.
    java.lang.String getMimeType()
    Get the mime type.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • WebXmlMimeMapping

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

    • getExtension

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

      public java.lang.String getMimeType()
      Get the mime type.
      Returns:
      the mime type.