public class MediaOutputResource
extends org.richfaces.resource.AbstractUserResource
implements javax.faces.component.StateHolder, org.richfaces.resource.CacheableResource
Constructor and Description |
---|
MediaOutputResource() |
Modifier and Type | Method and Description |
---|---|
void |
encode(javax.faces.context.FacesContext facesContext) |
String |
getContentType() |
String |
getEntityTag(javax.faces.context.FacesContext context) |
Date |
getExpires(javax.faces.context.FacesContext context) |
Map<String,String> |
getResponseHeaders() |
int |
getTimeToLive(javax.faces.context.FacesContext context) |
void |
initialize() |
boolean |
isCacheable(javax.faces.context.FacesContext context) |
boolean |
isTransient() |
void |
restoreState(javax.faces.context.FacesContext context,
Object stateObject) |
Object |
saveState(javax.faces.context.FacesContext context) |
void |
setCacheable(boolean cacheable) |
void |
setContentType(String contentType) |
void |
setTransient(boolean newTransientValue) |
public void encode(javax.faces.context.FacesContext facesContext) throws IOException
encode
in interface org.richfaces.resource.ContentProducerResource
IOException
public boolean isTransient()
isTransient
in interface javax.faces.component.StateHolder
public void setTransient(boolean newTransientValue)
setTransient
in interface javax.faces.component.StateHolder
public Object saveState(javax.faces.context.FacesContext context)
saveState
in interface javax.faces.component.StateHolder
public void restoreState(javax.faces.context.FacesContext context, Object stateObject)
restoreState
in interface javax.faces.component.StateHolder
public void initialize()
uiMediaOutput
- public boolean isCacheable(javax.faces.context.FacesContext context)
isCacheable
in interface org.richfaces.resource.CacheableResource
public void setCacheable(boolean cacheable)
public Date getExpires(javax.faces.context.FacesContext context)
getExpires
in interface org.richfaces.resource.CacheableResource
public int getTimeToLive(javax.faces.context.FacesContext context)
getTimeToLive
in interface org.richfaces.resource.CacheableResource
public String getEntityTag(javax.faces.context.FacesContext context)
getEntityTag
in interface org.richfaces.resource.CacheableResource
public String getContentType()
getContentType
in interface org.richfaces.resource.UserResource
public void setContentType(String contentType)
Copyright © 2014 JBoss by Red Hat. All rights reserved.