public class AbsoluteRequestPathResource
extends org.richfaces.resource.external.ExternalResource
Implementation of Resource which serves resources from absolute path.
Thus it does provide only getRequestPath() method, all other methods throws UnsupportedOperationException.
| Constructor and Description |
|---|
AbsoluteRequestPathResource(String absoluteRequestPath) |
| Modifier and Type | Method and Description |
|---|---|
String |
getExternalLocation() |
InputStream |
getInputStream() |
String |
getRequestPath() |
Map<String,String> |
getResponseHeaders() |
URL |
getURL() |
boolean |
userAgentNeedsUpdate(javax.faces.context.FacesContext context) |
public AbsoluteRequestPathResource(String absoluteRequestPath)
public String getRequestPath()
getRequestPath in class javax.faces.application.Resourcepublic InputStream getInputStream() throws IOException
getInputStream in class javax.faces.application.ResourceIOExceptionpublic Map<String,String> getResponseHeaders()
getResponseHeaders in class javax.faces.application.Resourcepublic URL getURL()
getURL in class javax.faces.application.Resourcepublic boolean userAgentNeedsUpdate(javax.faces.context.FacesContext context)
userAgentNeedsUpdate in class javax.faces.application.Resourcepublic String getExternalLocation()
getExternalLocation in class org.richfaces.resource.external.ExternalResourceCopyright © 2012 JBoss by Red Hat. All Rights Reserved.