public class ClassResourceProcessor extends AbstractResourceProcessor
Implementation of Processor
which serves resources from the
class path of the web application. 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 |
---|
ClassResourceProcessor() |
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, setLastModified
accept, getExcludes, getIncludes, setIncludes
public void setExcludes(String excludes)
Force our default excludes list to be included.
setExcludes
in class FilteringProcessor
excludes
- 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 AbstractResourceProcessor
context
- FacesContext
for the current requestresourceId
- Resource identifier to translateCopyright © 2004-2013 Apache Software Foundation. All Rights Reserved.