org.richfaces.resource
Class PushResource

java.lang.Object
  extended by javax.faces.application.Resource
      extended by org.richfaces.resource.AbstractCacheableResource
          extended by org.richfaces.resource.AbstractBaseResource
              extended by org.richfaces.resource.PushResource
All Implemented Interfaces:
VersionedResource

public class PushResource
extends AbstractBaseResource

Since:
4.0
Author:
Nick Belaevski

Field Summary
 
Fields inherited from class org.richfaces.resource.AbstractBaseResource
URL_PROTOCOL
 
Fields inherited from class javax.faces.application.Resource
COMPONENT_RESOURCE_KEY
 
Constructor Summary
PushResource()
           
 
Method Summary
 InputStream getInputStream()
           
 Map<String,String> getResponseHeaders()
           
 boolean isCacheable(javax.faces.context.FacesContext context)
           
 
Methods inherited from class org.richfaces.resource.AbstractBaseResource
getClassLoader, getContentLength, getEntityTag, getExpires, getLastModified, getRequestPath, getTimeToLive, getURL, getVersion, setCacheable, setVersion
 
Methods inherited from class org.richfaces.resource.AbstractCacheableResource
isMatchesEntityTag, isMatchesEntityTag, isMatchesLastModified, isMatchesLastModified, userAgentNeedsUpdate
 
Methods inherited from class javax.faces.application.Resource
getContentType, getLibraryName, getResourceName, setContentType, setLibraryName, setResourceName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PushResource

public PushResource()
Method Detail

isCacheable

public boolean isCacheable(javax.faces.context.FacesContext context)
Overrides:
isCacheable in class AbstractBaseResource

getInputStream

public InputStream getInputStream()
                           throws IOException
Specified by:
getInputStream in class javax.faces.application.Resource
Throws:
IOException

getResponseHeaders

public Map<String,String> getResponseHeaders()
Overrides:
getResponseHeaders in class AbstractBaseResource


Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.