javax.faces.application
Class ResourceWrapper
java.lang.Object
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
- Version:
- $Revision: 1187700 $ $Date: 2011-10-22 14:19:37 +0200 (Sat, 22 Oct 2011) $
- Author:
- Simon Lessard (latest modification by $Author: bommel $)
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 © 2012 The Apache Software Foundation. All Rights Reserved.