public class RequestURIFileExtensionResolver extends Object implements FileExtensionResolver<javax.servlet.http.HttpServletRequest>
Constructor and Description |
---|
RequestURIFileExtensionResolver() |
Modifier and Type | Method and Description |
---|---|
org.springframework.web.util.UrlPathHelper |
getUrlPathHelper() |
boolean |
isSupport(javax.servlet.http.HttpServletRequest t)
是否支持
|
List<String> |
resolveFileExtensions(javax.servlet.http.HttpServletRequest request)
获取对象的文件后缀列表
|
void |
setUrlPathHelper(org.springframework.web.util.UrlPathHelper urlPathHelper) |
public org.springframework.web.util.UrlPathHelper getUrlPathHelper()
public void setUrlPathHelper(org.springframework.web.util.UrlPathHelper urlPathHelper)
public List<String> resolveFileExtensions(javax.servlet.http.HttpServletRequest request)
FileExtensionResolver
resolveFileExtensions
in interface FileExtensionResolver<javax.servlet.http.HttpServletRequest>
public boolean isSupport(javax.servlet.http.HttpServletRequest t)
FileExtensionResolver
isSupport
in interface FileExtensionResolver<javax.servlet.http.HttpServletRequest>
Copyright © 2006–2018 TinyGroup. All rights reserved.