public class UnmappedResource
extends javax.faces.application.ResourceWrapper
implements java.io.Externalizable
Resource
implementation is extracted from UnmappedResourceHandler
in order to overcome
state saving issues.Constructor and Description |
---|
UnmappedResource(javax.faces.application.Resource wrapped)
Constructs a new unmapped resource wrapping the given resource.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getContentType() |
java.lang.String |
getLibraryName() |
java.lang.String |
getRequestPath()
Obtain the request path of the wrapped resource.
|
java.lang.String |
getResourceName() |
javax.faces.application.Resource |
getWrapped() |
void |
readExternal(java.io.ObjectInput input) |
void |
writeExternal(java.io.ObjectOutput output) |
getInputStream, getResponseHeaders, getURL, userAgentNeedsUpdate
public UnmappedResource(javax.faces.application.Resource wrapped)
public java.lang.String getRequestPath()
getRequestPath
in class javax.faces.application.ResourceWrapper
public java.lang.String getResourceName()
getResourceName
in class javax.faces.application.Resource
public java.lang.String getLibraryName()
getLibraryName
in class javax.faces.application.Resource
public java.lang.String getContentType()
getContentType
in class javax.faces.application.Resource
public javax.faces.application.Resource getWrapped()
getWrapped
in interface javax.faces.FacesWrapper<javax.faces.application.Resource>
getWrapped
in class javax.faces.application.ResourceWrapper
public void readExternal(java.io.ObjectInput input) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
java.io.IOException
java.lang.ClassNotFoundException
public void writeExternal(java.io.ObjectOutput output) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
java.io.IOException