类的使用
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 MimeMappingsMimeMappings.lazyCopy(MimeMappings mappings) Create a new lazy copy of the given mappings that will only copy entries if the mappings are mutated.static MimeMappingsMimeMappings.unmodifiableMappings(MimeMappings mappings) Create a new unmodifiable view of the specified mapping.修饰符和类型方法说明static MimeMappingsMimeMappings.lazyCopy(MimeMappings mappings) Create a new lazy copy of the given mappings that will only copy entries if the mappings are mutated.static MimeMappingsMimeMappings.unmodifiableMappings(MimeMappings mappings) Create a new unmodifiable view of the specified mapping.限定符构造器说明MimeMappings(MimeMappings mappings) Create a newMimeMappingsinstance from the specified mappings. -
org.springframework.boot.web.servlet.server中MimeMappings的使用
修饰符和类型方法说明voidAbstractServletWebServerFactory.addMimeMappings(MimeMappings mimeMappings) voidConfigurableServletWebServerFactory.addMimeMappings(MimeMappings mimeMappings) Adds mime-type mappings.voidAbstractServletWebServerFactory.setMimeMappings(MimeMappings mimeMappings) voidConfigurableServletWebServerFactory.setMimeMappings(MimeMappings mimeMappings) Sets the mime-type mappings.