public class UserResourceWrapperImpl extends BaseResourceWrapper<UserResource> implements ContentProducerResource
URL_PROTOCOL| Constructor and Description |
|---|
UserResourceWrapperImpl(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(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<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 ContentProducerResourceIOExceptionCopyright © 2014 JBoss by Red Hat. All Rights Reserved.