spring-framework / org.springframework.web.servlet.resource / PathResourceResolver / setLocationCharsets

setLocationCharsets

open fun setLocationCharsets(locationCharsets: MutableMap<Resource, Charset>): Unit

Configure charsets associated with locations. If a static resource is found under a org.springframework.core.io.UrlResource location the charset is used to encode the relative path

Note: the charset is used only if the urlPathHelper property is also configured and its urlDecode property is set to true.

Since
4.3.13