org.richfaces.resource
Class PushResource

java.lang.Object
  extended by javax.faces.application.Resource
      extended by org.richfaces.resource.PushResource

public class PushResource
extends javax.faces.application.Resource

Since:
4.0
Author:
Nick Belaevski

Field Summary
 
Fields inherited from class javax.faces.application.Resource
COMPONENT_RESOURCE_KEY
 
Constructor Summary
PushResource()
           
 
Method Summary
 String getContentType()
           
 InputStream getInputStream()
           
 String getRequestPath()
           
 Map<String,String> getResponseHeaders()
           
 URL getURL()
           
 boolean userAgentNeedsUpdate(javax.faces.context.FacesContext context)
           
 
Methods inherited from class javax.faces.application.Resource
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

getInputStream

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

getResponseHeaders

public Map<String,String> getResponseHeaders()
Specified by:
getResponseHeaders in class javax.faces.application.Resource

getContentType

public String getContentType()
Overrides:
getContentType in class javax.faces.application.Resource

getRequestPath

public String getRequestPath()
Specified by:
getRequestPath in class javax.faces.application.Resource

getURL

public URL getURL()
Specified by:
getURL in class javax.faces.application.Resource

userAgentNeedsUpdate

public boolean userAgentNeedsUpdate(javax.faces.context.FacesContext context)
Specified by:
userAgentNeedsUpdate in class javax.faces.application.Resource


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