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, setTransient
addCacheControlResponseHeaders, isMatchesEntityTag, isMatchesEntityTag, isMatchesLastModified, isMatchesLastModified, setCacheable, userAgentNeedsUpdate
addNoCacheResponseHeaders, getClassLoader, getRequestPath, getURL
public UserResourceWrapperImpl(UserResource resourceObject, boolean cacheable, boolean versioned)
public InputStream getInputStream() throws IOException
getInputStream
in class javax.faces.application.Resource
IOException
protected Map<String,String> getWrappedResourceResponseHeaders()
getWrappedResourceResponseHeaders
in class BaseResourceWrapper<UserResource>
public String getContentType()
getContentType
in class javax.faces.application.Resource
protected int getContentLength(javax.faces.context.FacesContext context)
getContentLength
in class AbstractBaseResource
protected Date getLastModified(javax.faces.context.FacesContext context)
AbstractBaseResource
getLastModified
in class AbstractBaseResource
public void encode(javax.faces.context.FacesContext context) throws IOException
encode
in interface ContentProducerResource
IOException
Copyright © 2015 JBoss by Red Hat. All Rights Reserved.