public class UnmappedResource extends javax.faces.application.ResourceWrapper implements 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 |
|---|---|
String |
getContentType() |
String |
getLibraryName() |
String |
getRequestPath()
Obtain the request path of the wrapped resource.
|
String |
getResourceName() |
javax.faces.application.Resource |
getWrapped() |
void |
readExternal(ObjectInput input) |
void |
writeExternal(ObjectOutput output) |
getInputStream, getResponseHeaders, getURL, userAgentNeedsUpdatepublic UnmappedResource(javax.faces.application.Resource wrapped)
public String getRequestPath()
getRequestPath in class javax.faces.application.ResourceWrapperpublic String getResourceName()
getResourceName in class javax.faces.application.Resourcepublic String getLibraryName()
getLibraryName in class javax.faces.application.Resourcepublic String getContentType()
getContentType in class javax.faces.application.Resourcepublic javax.faces.application.Resource getWrapped()
getWrapped in interface javax.faces.FacesWrapper<javax.faces.application.Resource>getWrapped in class javax.faces.application.ResourceWrapperpublic void readExternal(ObjectInput input) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionpublic void writeExternal(ObjectOutput output) throws IOException
writeExternal in interface ExternalizableIOExceptionCopyright © 2012–2014 OmniFaces. All rights reserved.