org.richfaces.resource
Class AbsoluteRequestPathResource
java.lang.Object
javax.faces.application.Resource
org.richfaces.resource.AbsoluteRequestPathResource
public class AbsoluteRequestPathResource
- extends javax.faces.application.Resource
Implementation of Resource
which serves resources from absolute path.
Thus it does provide only getRequestPath()
method, all other methods throws UnsupportedOperationException
.
- Author:
- Lukas Fryc
Fields inherited from class javax.faces.application.Resource |
COMPONENT_RESOURCE_KEY |
Methods inherited from class javax.faces.application.Resource |
getContentType, getLibraryName, getResourceName, setContentType, setLibraryName, setResourceName, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AbsoluteRequestPathResource
public AbsoluteRequestPathResource(java.lang.String absoluteRequestPath)
getRequestPath
public java.lang.String getRequestPath()
- Specified by:
getRequestPath
in class javax.faces.application.Resource
getInputStream
public java.io.InputStream getInputStream()
throws java.io.IOException
- Specified by:
getInputStream
in class javax.faces.application.Resource
- Throws:
java.io.IOException
getResponseHeaders
public java.util.Map<java.lang.String,java.lang.String> getResponseHeaders()
- Specified by:
getResponseHeaders
in class javax.faces.application.Resource
getURL
public java.net.URL getURL()
- Specified by:
getURL
in class javax.faces.application.Resource
userAgentNeedsUpdate
public boolean userAgentNeedsUpdate(javax.faces.context.FacesContext context)
- Specified by:
userAgentNeedsUpdate
in class javax.faces.application.Resource
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.