org.openfaces.application
Class ExternalResource

java.lang.Object
  extended by javax.faces.application.Resource
      extended by org.openfaces.application.ExternalResource

public class ExternalResource
extends javax.faces.application.Resource


Field Summary
 
Fields inherited from class javax.faces.application.Resource
COMPONENT_RESOURCE_KEY
 
Constructor Summary
ExternalResource(java.lang.String url)
           
 
Method Summary
 java.io.InputStream getInputStream()
           
 java.lang.String getRequestPath()
           
 java.util.Map<java.lang.String,java.lang.String> getResponseHeaders()
           
 java.net.URL getURL()
           
 boolean userAgentNeedsUpdate(javax.faces.context.FacesContext context)
           
 
Methods inherited from class javax.faces.application.Resource
getContentType, getLibraryName, getResourceName, setContentType, setLibraryName, setResourceName, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExternalResource

public ExternalResource(java.lang.String url)
Method Detail

getInputStream

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

getResponseHeaders

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

getRequestPath

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

getURL

public java.net.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 © 1998-2010 TeamDev Ltd. All Rights Reserved.