MimeMappings
Simple server-independent abstraction for mime mappings. Roughly equivalent to the <mime-mapping> element traditionally found in web.xml.
Author
Phillip Webb
Guirong Hu
Since
2.0.0
Constructors
Link copied to clipboard
constructor()
Create a new empty MimeMappings instance.
Create a new MimeMappings instance from the specified mappings.
Create a new MimeMappings from the specified mappings.
Functions
Link copied to clipboard
Returns all defined mappings.
Link copied to clipboard
Link copied to clipboard
Create a new lazy copy of the given mappings that will only copy entries if the mappings are mutated.
Link copied to clipboard
Link copied to clipboard
Create a new unmodifiable view of the specified mapping.