org.richfaces.resource.external
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.Resource
public InputStream getInputStream() throws IOException
getInputStream
in class javax.faces.application.Resource
IOException
public Map<String,String> getResponseHeaders()
getResponseHeaders
in class javax.faces.application.Resource
public URL getURL()
getURL
in class javax.faces.application.Resource
public boolean userAgentNeedsUpdate(javax.faces.context.FacesContext context)
userAgentNeedsUpdate
in class javax.faces.application.Resource
public String getExternalLocation()
getExternalLocation
in class org.richfaces.resource.external.ExternalResource
Copyright © 2014 JBoss by Red Hat. All Rights Reserved.