Class WebXmlMimeMapping


  • public class WebXmlMimeMapping
    extends Object
    The web.xml mime-mapping.
    Author:
    Manfred Riem (mriem@manorrock.com)
    • Constructor Detail

      • WebXmlMimeMapping

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

      • getExtension

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

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