public class RemappedResource extends ResourceWrapper implements Externalizable
Resource implementation remaps the given wrapped resource to the given request path.COMPONENT_RESOURCE_KEY| Constructor and Description |
|---|
RemappedResource()
Do not use this constructor.
|
RemappedResource(Resource wrapped,
String requestPath)
Constructs a new resource which remaps the given wrapped resource to the given request path.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object object) |
String |
getContentType() |
String |
getLibraryName() |
String |
getRequestPath() |
String |
getResourceName() |
Resource |
getWrapped() |
int |
hashCode() |
void |
readExternal(ObjectInput input) |
void |
writeExternal(ObjectOutput output) |
getInputStream, getResponseHeaders, getURL, userAgentNeedsUpdatesetContentType, setLibraryName, setResourceName, toStringpublic String getRequestPath()
getRequestPath in class ResourceWrapperpublic String getResourceName()
getResourceName in class Resourcepublic String getLibraryName()
getLibraryName in class Resourcepublic String getContentType()
getContentType in class Resourcepublic Resource getWrapped()
getWrapped in interface FacesWrapper<Resource>getWrapped in class ResourceWrapperpublic void readExternal(ObjectInput input) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionpublic void writeExternal(ObjectOutput output) throws IOException
writeExternal in interface ExternalizableIOExceptionCopyright © 2012–2016 OmniFaces. All rights reserved.