类的使用
org.springframework.boot.web.server.MimeMappings
使用MimeMappings的程序包
程序包
说明
Auto-configuration for common web concerns.
Support for embedded web servers.
Servlet web server abstractions.
-
org.springframework.boot.autoconfigure.web中MimeMappings的使用
-
org.springframework.boot.web.server中MimeMappings的使用
修饰符和类型方法说明static MimeMappings
MimeMappings.lazyCopy
(MimeMappings mappings) Create a new lazy copy of the given mappings that will only copy entries if the mappings are mutated.static MimeMappings
MimeMappings.unmodifiableMappings
(MimeMappings mappings) Create a new unmodifiable view of the specified mapping.修饰符和类型方法说明static MimeMappings
MimeMappings.lazyCopy
(MimeMappings mappings) Create a new lazy copy of the given mappings that will only copy entries if the mappings are mutated.static MimeMappings
MimeMappings.unmodifiableMappings
(MimeMappings mappings) Create a new unmodifiable view of the specified mapping.限定符构造器说明MimeMappings
(MimeMappings mappings) Create a newMimeMappings
instance from the specified mappings. -
org.springframework.boot.web.servlet.server中MimeMappings的使用
修饰符和类型方法说明void
AbstractServletWebServerFactory.addMimeMappings
(MimeMappings mimeMappings) void
ConfigurableServletWebServerFactory.addMimeMappings
(MimeMappings mimeMappings) Adds mime-type mappings.void
AbstractServletWebServerFactory.setMimeMappings
(MimeMappings mimeMappings) void
ConfigurableServletWebServerFactory.setMimeMappings
(MimeMappings mimeMappings) Sets the mime-type mappings.