public class WebFileHttpRequestHandler
extends org.springframework.web.servlet.resource.ResourceHttpRequestHandler
限定符和类型 | 字段和说明 |
---|---|
private static org.springframework.core.io.Resource |
favicon |
private SiteComponent |
siteComponent |
构造器和说明 |
---|
WebFileHttpRequestHandler(SiteComponent siteComponent) |
限定符和类型 | 方法和说明 |
---|---|
void |
afterPropertiesSet() |
protected org.springframework.core.io.Resource |
getResource(javax.servlet.http.HttpServletRequest request) |
void |
handleRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
getContentNegotiationManager, getCorsConfiguration, getLocations, getMediaType, getMediaTypes, getResourceHttpMessageConverter, getResourceRegionHttpMessageConverter, getResourceResolvers, getResourceTransformers, getUrlPathHelper, initAllowedLocations, initContentNegotiationStrategy, isInvalidPath, isOptimizeLocations, isUseLastModified, processPath, setContentNegotiationManager, setCorsConfiguration, setEmbeddedValueResolver, setHeaders, setLocations, setLocationValues, setMediaTypes, setOptimizeLocations, setResourceHttpMessageConverter, setResourceRegionHttpMessageConverter, setResourceResolvers, setResourceTransformers, setUrlPathHelper, setUseLastModified, toString
applyCacheControl, applyCacheSeconds, applyCacheSeconds, cacheForSeconds, cacheForSeconds, checkAndPrepare, checkAndPrepare, checkRequest, getAllowHeader, getCacheControl, getCacheSeconds, getSupportedMethods, getVaryByRequestHeaders, isAlwaysMustRevalidate, isRequireSession, isUseCacheControlHeader, isUseCacheControlNoStore, isUseExpiresHeader, prepareResponse, preventCaching, setAlwaysMustRevalidate, setCacheControl, setCacheSeconds, setRequireSession, setSupportedMethods, setUseCacheControlHeader, setUseCacheControlNoStore, setUseExpiresHeader, setVaryByRequestHeaders
getServletContext, getTempDir, getWebApplicationContext, initApplicationContext, initServletContext, isContextRequired, setServletContext
private SiteComponent siteComponent
private static org.springframework.core.io.Resource favicon
public WebFileHttpRequestHandler(SiteComponent siteComponent)
siteComponent
- public void handleRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, java.io.IOException
handleRequest
在接口中 org.springframework.web.HttpRequestHandler
handleRequest
在类中 org.springframework.web.servlet.resource.ResourceHttpRequestHandler
javax.servlet.ServletException
java.io.IOException
protected org.springframework.core.io.Resource getResource(javax.servlet.http.HttpServletRequest request) throws java.io.IOException
getResource
在类中 org.springframework.web.servlet.resource.ResourceHttpRequestHandler
java.io.IOException
public void afterPropertiesSet() throws java.lang.Exception
afterPropertiesSet
在接口中 org.springframework.beans.factory.InitializingBean
afterPropertiesSet
在类中 org.springframework.web.servlet.resource.ResourceHttpRequestHandler
java.lang.Exception