org.wildfly.swarm.config.undertow.servlet_container

## Class MimeMapping<T extends MimeMapping<T>>

- java.lang.Object
- - org.wildfly.swarm.config.undertow.servlet_container.MimeMapping<T>

-     public class MimeMapping<T extends MimeMapping<T>>
      extends Object

  The servlet container mime mapping config

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `MimeMapping(String key)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `addPropertyChangeListener(PropertyChangeListener listener)` Adds a property change listener
    `String` | `getKey()`
    `void` | `removePropertyChangeListener(PropertyChangeListener listener)` Removes a property change listener
    `String` | `value()` The mime type for this mapping
    `T` | `value(String value)` The mime type for this mapping

    - ### Methods inherited from class java.lang.Object

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

- - ### Constructor Detail

    - #### MimeMapping

          public MimeMapping(String key)

  - ### Method Detail

    - #### getKey

          public String getKey()

    - #### addPropertyChangeListener

          public void addPropertyChangeListener(PropertyChangeListener listener)

      Adds a property change listener

    - #### removePropertyChangeListener

          public void removePropertyChangeListener(PropertyChangeListener listener)

      Removes a property change listener

    - #### value

          public String value()

      The mime type for this mapping

    - #### value

          public T value(String value)

      The mime type for this mapping

Copyright © 2017 JBoss by Red Hat. All rights reserved.