Package jakarta.faces.application
Class ResourceWrapper
java.lang.Object
jakarta.faces.application.ViewResource
jakarta.faces.application.Resource
jakarta.faces.application.ResourceWrapper
- All Implemented Interfaces:
- FacesWrapper<Resource>
- Since:
- 2.0
- 
Field SummaryFields inherited from class jakarta.faces.application.ResourceCOMPONENT_RESOURCE_KEY
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetURL()A class that implements this interface uses this method to return an instance of the class being wrapped.voidsetContentType(String contentType) voidsetLibraryName(String libraryName) voidsetResourceName(String resourceName) booleanuserAgentNeedsUpdate(FacesContext context) 
- 
Constructor Details- 
ResourceWrapperDeprecated.
- 
ResourceWrapper
 
- 
- 
Method Details- 
getInputStream- Specified by:
- getInputStreamin class- Resource
- Throws:
- IOException
 
- 
getRequestPath- Specified by:
- getRequestPathin class- Resource
 
- 
getResponseHeaders- Specified by:
- getResponseHeadersin class- Resource
 
- 
getURL
- 
userAgentNeedsUpdate- Specified by:
- userAgentNeedsUpdatein class- Resource
 
- 
getWrappedDescription copied from interface:FacesWrapperA class that implements this interface uses this method to return an instance of the class being wrapped.- Specified by:
- getWrappedin interface- FacesWrapper<Resource>
- Returns:
- the instance of the class being wrapped
 
- 
setResourceName- Overrides:
- setResourceNamein class- Resource
 
- 
setLibraryName- Overrides:
- setLibraryNamein class- Resource
 
- 
setContentType- Overrides:
- setContentTypein class- Resource
 
- 
getResourceName- Overrides:
- getResourceNamein class- Resource
 
- 
getLibraryName- Overrides:
- getLibraryNamein class- Resource
 
- 
getContentType- Overrides:
- getContentTypein class- Resource
 
 
-