Class CompositeResouceWrapper
java.lang.Object
jakarta.faces.application.ViewResource
jakarta.faces.application.Resource
org.apache.myfaces.view.facelets.tag.composite.CompositeResouceWrapper
- All Implemented Interfaces:
FacesWrapper<Resource>
,Externalizable
,Serializable
public final class CompositeResouceWrapper
extends Resource
implements FacesWrapper<Resource>, Externalizable
The value inside composite component attribute map with the key
Resource.COMPONENT_RESOURCE_KEY should be a Serializable. This
wrapper add serialization to Resource instances, because
ResourceImpl depends from the ResourceLoader used by it.
- Version:
- $Revision$ $Date$
- Author:
- Leonardo Uribe (latest modification by $Author$)
- See Also:
-
Field Summary
Fields inherited from class jakarta.faces.application.Resource
COMPONENT_RESOURCE_KEY
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetURL()
void
toString()
boolean
userAgentNeedsUpdate
(FacesContext context) void
Methods inherited from class jakarta.faces.application.Resource
getContentType, getLibraryName, getResourceName, setContentType, setLibraryName, setResourceName
-
Constructor Details
-
CompositeResouceWrapper
public CompositeResouceWrapper() -
CompositeResouceWrapper
-
-
Method Details
-
getInputStream
- Specified by:
getInputStream
in classResource
- Throws:
IOException
-
getRequestPath
- Specified by:
getRequestPath
in classResource
-
getResponseHeaders
- Specified by:
getResponseHeaders
in classResource
-
getURL
-
userAgentNeedsUpdate
- Specified by:
userAgentNeedsUpdate
in classResource
-
getWrapped
- Specified by:
getWrapped
in interfaceFacesWrapper<Resource>
-
readExternal
- Specified by:
readExternal
in interfaceExternalizable
- Throws:
IOException
ClassNotFoundException
-
writeExternal
- Specified by:
writeExternal
in interfaceExternalizable
- Throws:
IOException
-
toString
-