javax.faces.application
Class ResourceWrapper
java.lang.Object
javax.faces.application.ViewResource
javax.faces.application.Resource
javax.faces.application.ResourceWrapper
- All Implemented Interfaces:
- FacesWrapper<Resource>
public abstract class ResourceWrapper
- extends Resource
- implements FacesWrapper<Resource>
- Since:
- 2.0
ResourceWrapper
public ResourceWrapper()
getInputStream
public InputStream getInputStream()
throws IOException
- Specified by:
getInputStream
in class Resource
- Throws:
IOException
getRequestPath
public String getRequestPath()
- Specified by:
getRequestPath
in class Resource
getResponseHeaders
public Map<String,String> getResponseHeaders()
- Specified by:
getResponseHeaders
in class Resource
getURL
public URL getURL()
- Specified by:
getURL
in class Resource
userAgentNeedsUpdate
public boolean userAgentNeedsUpdate(FacesContext context)
- Specified by:
userAgentNeedsUpdate
in class Resource
getWrapped
public abstract Resource getWrapped()
- Description copied from interface:
FacesWrapper
- A class that implements this interface uses this method to return an instance of the class being wrapped.
- Specified by:
getWrapped
in interface FacesWrapper<Resource>
- Returns:
- the instance of the class being wrapped
Copyright © 2014 The Apache Software Foundation. All rights reserved.