Package org.apache.myfaces.resource
Class ResourceImpl
java.lang.Object
jakarta.faces.application.ViewResource
jakarta.faces.application.Resource
org.apache.myfaces.resource.ResourceImpl
- All Implemented Interfaces:
- ContractResource
Default implementation for resources
- 
Field SummaryFieldsFields inherited from class jakarta.faces.application.ResourceCOMPONENT_RESOURCE_KEYFields inherited from interface org.apache.myfaces.resource.ContractResourceCONTRACT_SELECTED
- 
Constructor SummaryConstructorsConstructorDescriptionResourceImpl(ResourceMeta resourceMeta, ResourceLoader resourceLoader, ResourceHandlerSupport support, String contentType) ResourceImpl(ResourceMeta resourceMeta, ResourceLoader resourceLoader, ResourceHandlerSupport support, String contentType, URL url, String requestPath) 
- 
Method SummaryModifier and TypeMethodDescriptionprotected longgetLastModified(FacesContext facesContext) protected ResourceHandlerSupportprotected ResourceMetagetURL()booleanbooleanuserAgentNeedsUpdate(FacesContext context) Methods inherited from class jakarta.faces.application.ResourcegetContentType, getLibraryName, getResourceName, setContentType, setLibraryName, setResourceName, toString
- 
Field Details- 
JAKARTA_FACES_LIBRARY_NAME- See Also:
 
- 
FACES_JS_RESOURCE_NAME- See Also:
 
 
- 
- 
Constructor Details- 
ResourceImplpublic ResourceImpl(ResourceMeta resourceMeta, ResourceLoader resourceLoader, ResourceHandlerSupport support, String contentType) 
- 
ResourceImplpublic ResourceImpl(ResourceMeta resourceMeta, ResourceLoader resourceLoader, ResourceHandlerSupport support, String contentType, URL url, String requestPath) 
 
- 
- 
Method Details- 
getResourceLoader
- 
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
 
- 
getResourceHandlerSupport
- 
getResourceMeta
- 
isContractResourcepublic boolean isContractResource()- Specified by:
- isContractResourcein interface- ContractResource
 
- 
getContractName- Specified by:
- getContractNamein interface- ContractResource
 
- 
getLastModified
 
-