public class UserResourceWrapperImpl extends BaseResourceWrapper<org.richfaces.resource.UserResource> implements org.richfaces.resource.ContentProducerResource
URL_PROTOCOL| Constructor and Description |
|---|
UserResourceWrapperImpl(org.richfaces.resource.UserResource resourceObject,
boolean cacheable,
boolean versioned) |
| Modifier and Type | Method and Description |
|---|---|
void |
encode(javax.faces.context.FacesContext context) |
protected int |
getContentLength(javax.faces.context.FacesContext context) |
String |
getContentType() |
InputStream |
getInputStream() |
protected Date |
getLastModified(javax.faces.context.FacesContext context)
TODO optimize/review?
|
protected Map<String,String> |
getWrappedResourceResponseHeaders() |
getEntityTag, getExpires, getResponseHeaders, getTimeToLive, getVersion, getWrapped, isCacheable, isTransient, restoreState, saveState, setTransientaddCacheControlResponseHeaders, isMatchesEntityTag, isMatchesEntityTag, isMatchesLastModified, isMatchesLastModified, setCacheable, userAgentNeedsUpdateaddNoCacheResponseHeaders, getClassLoader, getRequestPath, getURLpublic UserResourceWrapperImpl(org.richfaces.resource.UserResource resourceObject,
boolean cacheable,
boolean versioned)
public InputStream getInputStream() throws IOException
getInputStream in class javax.faces.application.ResourceIOExceptionprotected Map<String,String> getWrappedResourceResponseHeaders()
getWrappedResourceResponseHeaders in class BaseResourceWrapper<org.richfaces.resource.UserResource>public String getContentType()
getContentType in class javax.faces.application.Resourceprotected int getContentLength(javax.faces.context.FacesContext context)
getContentLength in class AbstractBaseResourceprotected Date getLastModified(javax.faces.context.FacesContext context)
AbstractBaseResourcegetLastModified in class AbstractBaseResourcepublic void encode(javax.faces.context.FacesContext context)
throws IOException
encode in interface org.richfaces.resource.ContentProducerResourceIOExceptionCopyright © 2012 JBoss by Red Hat. All Rights Reserved.