public class WebResourceProcessor extends AbstractResourceProcessor
Implementation of Processor which serves resources from the
web application's static resources. View identifiers shoud be a fully
qualified path, beginning with a slash ("/") character (for example,
/org/apache/shale/remoting/MyResource.css).
mimeTypes| Constructor and Description |
|---|
WebResourceProcessor() |
| Modifier and Type | Method and Description |
|---|---|
protected URL |
getResourceURL(javax.faces.context.FacesContext context,
String resourceId)
Convert the specified resource identifier into a URL, if the resource
actually exists.
|
void |
setExcludes(String excludes)
Force our default excludes list to be included.
|
copyStream, getBufferSize, getLastModified, getLastModifiedString, httpTimestamp, httpTimestamp, ifModifiedSince, inputStream, mimeType, outputStream, process, sendContentType, sendLastModified, sendNotFound, sendNotModified, servletRequest, setBufferSize, setLastModifiedaccept, getExcludes, getIncludes, setIncludespublic void setExcludes(String excludes)
Force our default excludes list to be included.
setExcludes in class FilteringProcessorexcludes - Application specified excludes listprotected URL getResourceURL(javax.faces.context.FacesContext context, String resourceId)
Convert the specified resource identifier into a URL, if the resource
actually exists. Otherwise, return null.
getResourceURL in class AbstractResourceProcessorcontext - FacesContext for the current requestresourceId - Resource identifier to translateCopyright © 2004-2013 Apache Software Foundation. All Rights Reserved.