public class DynamicResourceWrapper
extends javax.faces.application.Resource
Constructor and Description |
---|
DynamicResourceWrapper(javax.faces.application.Resource resource) |
Modifier and Type | Method and Description |
---|---|
String |
getContentType() |
InputStream |
getInputStream() |
String |
getLibraryName() |
String |
getRequestPath() |
protected String |
getResourceExtension() |
String |
getResourceName() |
Map<String,String> |
getResponseHeaders() |
URL |
getURL() |
void |
setContentType(String contentType) |
void |
setLibraryName(String libraryName) |
void |
setResourceName(String resourceName) |
boolean |
userAgentNeedsUpdate(javax.faces.context.FacesContext context) |
public DynamicResourceWrapper(javax.faces.application.Resource resource)
public InputStream getInputStream() throws IOException
getInputStream
in class javax.faces.application.Resource
IOException
public String getContentType()
getContentType
in class javax.faces.application.Resource
public void setContentType(String contentType)
setContentType
in class javax.faces.application.Resource
public String getLibraryName()
getLibraryName
in class javax.faces.application.Resource
public void setLibraryName(String libraryName)
setLibraryName
in class javax.faces.application.Resource
public String getResourceName()
getResourceName
in class javax.faces.application.Resource
public void setResourceName(String resourceName)
setResourceName
in class javax.faces.application.Resource
public Map<String,String> getResponseHeaders()
getResponseHeaders
in class javax.faces.application.Resource
public String getRequestPath()
getRequestPath
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
protected String getResourceExtension()
Copyright © 2015 JBoss by Red Hat. All Rights Reserved.