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, toStringpublic InputStream getInputStream() throws IOException
getInputStream in class ResourceIOExceptionpublic String getRequestPath()
getRequestPath in class Resourcepublic Map<String,String> getResponseHeaders()
getResponseHeaders in class Resourcepublic boolean userAgentNeedsUpdate(FacesContext context)
userAgentNeedsUpdate in class Resourcepublic abstract Resource getWrapped()
FacesWrappergetWrapped in interface FacesWrapper<Resource>Copyright © 2021 The Apache Software Foundation. All Rights Reserved.