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
setResourceName
public void setResourceName(String resourceName)
- Overrides:
setResourceName
in class Resource
setLibraryName
public void setLibraryName(String libraryName)
- Overrides:
setLibraryName
in class Resource
setContentType
public void setContentType(String contentType)
- Overrides:
setContentType
in class Resource
getResourceName
public String getResourceName()
- Overrides:
getResourceName
in class Resource
getLibraryName
public String getLibraryName()
- Overrides:
getLibraryName
in class Resource
getContentType
public String getContentType()
- Overrides:
getContentType
in class Resource
Copyright © 2014 The Apache Software Foundation. All rights reserved.