com.ibm.xsp.webapp.resources
Interface ResourceProvider
- All Known Implementing Classes:
- AbstractResourceProvider, BundleResourceProvider, DynamicXMLProvider, FileResourceProvider, JavaResourceProvider, PlatformResourceProvider, URLResourceProvider
public interface ResourceProvider
Resource provider.
A resource provider can return a Resource object corresponding to the
request name. If it doesn't have a resource with this name available,
thenm it should return null.
Resource providers are called one by one by the FacesResourceServlet
until one returns a resource object.
Method Summary |
Resource |
getResource(javax.servlet.http.HttpServletRequest request,
java.lang.String name)
Return the resource object |
PARAM_CACHE
static final java.lang.String PARAM_CACHE
- See Also:
- Constant Field Values
IF_MODIFIED_SINCE
static final java.lang.String IF_MODIFIED_SINCE
- See Also:
- Constant Field Values
LAST_MODIFIED
static final java.lang.String LAST_MODIFIED
- See Also:
- Constant Field Values
EXPIRES
static final java.lang.String EXPIRES
- See Also:
- Constant Field Values
DEFAULT_ENCODING
static final java.lang.String DEFAULT_ENCODING
- See Also:
- Constant Field Values
DEFAULT_GLOBAL_EXPIRES
static final long DEFAULT_GLOBAL_EXPIRES
- See Also:
- Constant Field Values
DEFAULT_MODULE_EXPIRES
static final long DEFAULT_MODULE_EXPIRES
- See Also:
- Constant Field Values
getResource
Resource getResource(javax.servlet.http.HttpServletRequest request,
java.lang.String name)
- Return the resource object
- Parameters:
request
- request that is looking for resourcename
- name of the resource