Package jakarta.faces.application
Class Resource
java.lang.Object
jakarta.faces.application.ViewResource
jakarta.faces.application.Resource
- Direct Known Subclasses:
- ResourceWrapper
- Since:
- 2.0
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final StringThis constant is used as the key in the component attribute map of a composite component to associate the component with itsResourceinstance.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionabstract InputStreamabstract Stringabstract URLgetURL()voidsetContentType(String contentType) voidsetLibraryName(String libraryName) voidsetResourceName(String resourceName) toString()abstract booleanuserAgentNeedsUpdate(FacesContext context) 
- 
Field Details- 
COMPONENT_RESOURCE_KEYThis constant is used as the key in the component attribute map of a composite component to associate the component with itsResourceinstance.- See Also:
 
 
- 
- 
Constructor Details- 
Resourcepublic Resource()
 
- 
- 
Method Details- 
getContentType
- 
getInputStream- Throws:
- IOException
 
- 
getLibraryName
- 
getRequestPath
- 
getResourceName
- 
getResponseHeaders
- 
getURL- Specified by:
- getURLin class- ViewResource
 
- 
setContentType
- 
setLibraryName
- 
setResourceName
- 
toString
- 
userAgentNeedsUpdate
 
-