|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ibm.xsp.webapp.resources.AbstractResourceProvider
com.ibm.xsp.webapp.resources.FileResourceProvider
public class FileResourceProvider
Global resource provider that is looking for files into a particular directory.
| Nested Class Summary |
|---|
| 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 |
|---|
GZIP_EXCLUDE, MIN_GZIP_SIZE |
| 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 | |
|---|---|
FileResourceProvider(java.lang.String prefix,
java.io.File baseDirectory)
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 |
|---|
getExpireTime, getMimeType, isHttpCache, shouldCacheResources |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FileResourceProvider(java.lang.String prefix,
java.io.File baseDirectory)
prefix - prefix for this resource provider to be identifiedbaseDirectory - base directory to find the resources| Method 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 | ||||||||