Java org.springframework.boot.web.server MimeMappings fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.boot.web.server MimeMappings fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.boot.web.server MimeMappings.

The text is from its open source code.

Field

MimeMappingsDEFAULT
Default mime mapping commonly used.

Constructor

MimeMappings()
Create a new empty MimeMappings instance.
MimeMappings(MimeMappings mappings)
Create a new MimeMappings instance from the specified mappings.
MimeMappings(Map mappings)
Create a new MimeMappings from the specified mappings.

Method

Stringadd(String extension, String mimeType)
Add a new mime mapping.