Package | Description |
---|---|
org.springframework.boot.web.server |
Support for embedded web servers.
|
org.springframework.boot.web.servlet.server |
Servlet web server abstractions.
|
Modifier and Type | Field and Description |
---|---|
static MimeMappings |
MimeMappings.DEFAULT
Default mime mapping commonly used.
|
Modifier and Type | Method and Description |
---|---|
static MimeMappings |
MimeMappings.unmodifiableMappings(MimeMappings mappings)
Create a new unmodifiable view of the specified mapping.
|
Modifier and Type | Method and Description |
---|---|
static MimeMappings |
MimeMappings.unmodifiableMappings(MimeMappings mappings)
Create a new unmodifiable view of the specified mapping.
|
Constructor and Description |
---|
MimeMappings(MimeMappings mappings)
Create a new
MimeMappings instance from the specified mappings. |
Modifier and Type | Method and Description |
---|---|
MimeMappings |
AbstractServletWebServerFactory.getMimeMappings()
Returns the mime-type mappings.
|
Modifier and Type | Method and Description |
---|---|
void |
ConfigurableServletWebServerFactory.setMimeMappings(MimeMappings mimeMappings)
Sets the mime-type mappings.
|
void |
AbstractServletWebServerFactory.setMimeMappings(MimeMappings mimeMappings) |