com.bstek.dorado.web.resolver
public class WebFileResolver extends AbstractWebFileResolver
Modifier and Type | Field and Description |
---|---|
static Resource[] |
EMPTY_RESOURCES |
Constructor and Description |
---|
WebFileResolver() |
Modifier and Type | Method and Description |
---|---|
protected ResourcesWrapper |
createResourcesWrapper(javax.servlet.http.HttpServletRequest request,
DoradoContext context) |
java.lang.String |
getResourcePrefix() |
protected Resource[] |
getResourcesByFileName(DoradoContext context,
java.lang.String resourcePrefix,
java.lang.String fileName,
java.lang.String resourceSuffix) |
void |
setBaseUri(java.lang.String baseUri)
设置URI的根。
|
void |
setResourcePrefix(java.lang.String resourcePrefix)
设置资源路径的前缀。
|
afterPropertiesSet, doHandleRequest, getContentType, getOutputStream, getResourceCacheKey, getResourceExtName, getResourcesWrapper, getResourceTypeManager, getUriSuffix, isCheckResourceType, isUseResourcesCache, outputFile, outputResourcesWrapper, setBeanFactory, setCheckResourceType, setUseResourcesCache, shouldCompress
getRelativeRequestURI, handleRequestInternal
handleRequest, isSynchronizeOnSession, setSynchronizeOnSession
applyCacheSeconds, applyCacheSeconds, cacheForSeconds, cacheForSeconds, checkAndPrepare, checkAndPrepare, getCacheSeconds, getSupportedMethods, isRequireSession, isUseCacheControlHeader, isUseCacheControlNoStore, isUseExpiresHeader, preventCaching, setCacheSeconds, setRequireSession, setSupportedMethods, setUseCacheControlHeader, setUseCacheControlNoStore, setUseExpiresHeader
getServletContext, getTempDir, getWebApplicationContext, initApplicationContext, initServletContext, isContextRequired, setServletContext
public static final Resource[] EMPTY_RESOURCES
public void setBaseUri(java.lang.String baseUri)
public void setResourcePrefix(java.lang.String resourcePrefix)
public java.lang.String getResourcePrefix()
protected ResourcesWrapper createResourcesWrapper(javax.servlet.http.HttpServletRequest request, DoradoContext context) throws java.lang.Exception
createResourcesWrapper
in class AbstractWebFileResolver
java.lang.Exception
protected Resource[] getResourcesByFileName(DoradoContext context, java.lang.String resourcePrefix, java.lang.String fileName, java.lang.String resourceSuffix) throws java.lang.Exception
java.lang.Exception
Copyright © 2001-2011 www.BSTEK.com All Rights Reserved.