public final class CompositeResouceWrapper extends Resource implements FacesWrapper<Resource>, Externalizable
COMPONENT_RESOURCE_KEY| Constructor and Description |
|---|
CompositeResouceWrapper() |
CompositeResouceWrapper(Resource delegate) |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
getInputStream() |
String |
getRequestPath() |
Map<String,String> |
getResponseHeaders() |
URL |
getURL() |
Resource |
getWrapped() |
void |
readExternal(ObjectInput in) |
String |
toString() |
boolean |
userAgentNeedsUpdate(FacesContext context) |
void |
writeExternal(ObjectOutput out) |
getContentType, getLibraryName, getResourceName, setContentType, setLibraryName, setResourceNamepublic CompositeResouceWrapper()
public CompositeResouceWrapper(Resource delegate)
public InputStream getInputStream() throws IOException
getInputStream in class ResourceIOExceptionpublic String getRequestPath()
getRequestPath in class Resourcepublic Map<String,String> getResponseHeaders()
getResponseHeaders in class Resourcepublic boolean userAgentNeedsUpdate(FacesContext context)
userAgentNeedsUpdate in class Resourcepublic Resource getWrapped()
getWrapped in interface FacesWrapper<Resource>public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionpublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionCopyright © 2021 The Apache Software Foundation. All Rights Reserved.