public abstract class ResourceWrapper extends Resource implements FacesWrapper<Resource>
COMPONENT_RESOURCE_KEY
Constructor and Description |
---|
ResourceWrapper() |
Modifier and Type | Method and Description |
---|---|
InputStream |
getInputStream() |
String |
getRequestPath() |
Map<String,String> |
getResponseHeaders() |
URL |
getURL() |
abstract Resource |
getWrapped()
A class that implements this interface uses this method to return an instance of the class being wrapped.
|
boolean |
userAgentNeedsUpdate(FacesContext context) |
getContentType, getLibraryName, getResourceName, setContentType, setLibraryName, setResourceName, toString
public InputStream getInputStream() throws IOException
getInputStream
in class Resource
IOException
public String getRequestPath()
getRequestPath
in class Resource
public Map<String,String> getResponseHeaders()
getResponseHeaders
in class Resource
public boolean userAgentNeedsUpdate(FacesContext context)
userAgentNeedsUpdate
in class Resource
public abstract Resource getWrapped()
FacesWrapper
getWrapped
in interface FacesWrapper<Resource>
Copyright © 2016 The Apache Software Foundation. All Rights Reserved.