|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ibm.xsp.webapp.resources.AbstractResourceProvider com.ibm.xsp.webapp.resources.PlatformResourceProvider
public class PlatformResourceProvider
Global resource provider that is looking for files into a particular directory.
Nested Class Summary | |
---|---|
protected class |
PlatformResourceProvider.PlatformResource
|
Nested classes/interfaces inherited from class com.ibm.xsp.webapp.resources.AbstractResourceProvider |
---|
AbstractResourceProvider.AbstractResource, AbstractResourceProvider.FileResource |
Field Summary |
---|
Fields inherited from class com.ibm.xsp.webapp.resources.AbstractResourceProvider |
---|
BMP_FILE_EXT, BMP_MIME_TYPE, CSS_FILE_EXT, CSS_MIME_TYPE, GIF_FILE_EXT, GIF_MIME_TYPE, GZIP_EXCLUDE, JPEG_FILE_EXT, JPEG_MIME_TYPE, JPG_FILE_EXT, JS_FILE_EXT, JS_MIME_TYPE, MIN_GZIP_SIZE, PNG_FILE_EXT, PNG_MIME_TYPE, TXT_FILE_EXT, TXT_MIME_TYPE, XBL_FILE_EXT, XBL_MIME_TYPE, XUL_FILE_EXT, XUL_MIME_TYPE |
Fields inherited from interface com.ibm.xsp.webapp.resources.ResourceProvider |
---|
DEFAULT_ENCODING, DEFAULT_GLOBAL_EXPIRES, DEFAULT_MODULE_EXPIRES, EXPIRES, IF_MODIFIED_SINCE, LAST_MODIFIED, PARAM_CACHE |
Constructor Summary | |
---|---|
PlatformResourceProvider(java.lang.String prefix,
java.lang.String subDir)
Constructor |
Method Summary | |
---|---|
Resource |
getResource(javax.servlet.http.HttpServletRequest request,
java.lang.String name)
Return the resource object |
Methods inherited from class com.ibm.xsp.webapp.resources.AbstractResourceProvider |
---|
getDefaultExpireTime, getExpireProperty, getExpireTime, getMimeType, isHttpCache, readExpirationProp, setExpireTime, shouldCacheResources |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PlatformResourceProvider(java.lang.String prefix, java.lang.String subDir)
prefix
- prefix for this resource provider to be identifiedsubDir
- sub directory where resources are locatedMethod Detail |
---|
public Resource getResource(javax.servlet.http.HttpServletRequest request, java.lang.String name)
ResourceProvider
request
- request that is looking for resourcename
- name of the resource
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |