com.ibm.xsp.webapp.resources
Interface ResourceProvider

All Known Implementing Classes:
AbstractResourceProvider, BundleResourceProvider, DojoLibResourceProvider, 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.


Field Summary
static java.lang.String DEFAULT_ENCODING
           
static long DEFAULT_GLOBAL_EXPIRES
           
static long DEFAULT_MODULE_EXPIRES
           
static java.lang.String EXPIRES
           
static java.lang.String IF_MODIFIED_SINCE
           
static java.lang.String LAST_MODIFIED
           
static java.lang.String PARAM_CACHE
           
 
Method Summary
 Resource getResource(javax.servlet.http.HttpServletRequest request, java.lang.String name)
          Return the resource object
 

Field Detail

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
Method Detail

getResource

Resource getResource(javax.servlet.http.HttpServletRequest request,
                     java.lang.String name)
Return the resource object

Parameters:
request - request that is looking for resource
name - name of the resource