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, setResourceName
public CompositeResouceWrapper()
public CompositeResouceWrapper(Resource delegate)
public InputStream getInputStream() throws IOException
getInputStream
in class Resource
IOException
public String getRequestPath()
getRequestPath
in class Resource
public Map<String,String> getResponseHeaders()
getResponseHeaders
in class Resource
public boolean userAgentNeedsUpdate(FacesContext context)
userAgentNeedsUpdate
in class Resource
public Resource getWrapped()
getWrapped
in interface FacesWrapper<Resource>
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
Copyright © 2020 The Apache Software Foundation. All rights reserved.