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, userAgentNeedsUpdate
public UnmappedResource(javax.faces.application.Resource wrapped)
public String getRequestPath()
getRequestPath
in class javax.faces.application.ResourceWrapper
public String getResourceName()
getResourceName
in class javax.faces.application.Resource
public String getLibraryName()
getLibraryName
in class javax.faces.application.Resource
public 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(ObjectInput input) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
public void writeExternal(ObjectOutput output) throws IOException
writeExternal
in interface Externalizable
IOException
Copyright © 2012–2014 OmniFaces. All rights reserved.