org.apache.myfaces.commons.resourcehandler.resource
Class ResourceImpl
java.lang.Object
   javax.faces.application.Resource
javax.faces.application.Resource
       org.apache.myfaces.commons.resourcehandler.resource.ResourceImpl
org.apache.myfaces.commons.resourcehandler.resource.ResourceImpl
- Direct Known Subclasses: 
- ExtendedResourceImpl
- public class ResourceImpl 
- extends javax.faces.application.Resource
Default implementation for resources
- Version:
- $Revision: 957739 $ $Date: 2010-06-24 17:27:40 -0500 (Jue, 24 Jun 2010) $
- Author:
- Leonardo Uribe (latest modification by $Author: lu4242 $)
 
| Fields inherited from class javax.faces.application.Resource | 
| COMPONENT_RESOURCE_KEY | 
 
 
 
| 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 | 
 
JAVAX_FACES_LIBRARY_NAME
protected static final java.lang.String JAVAX_FACES_LIBRARY_NAME
- See Also:
- Constant Field Values
JSF_JS_RESOURCE_NAME
protected static final java.lang.String JSF_JS_RESOURCE_NAME
- See Also:
- Constant Field Values
ResourceImpl
public ResourceImpl(ResourceMeta resourceMeta,
                    ResourceLoader resourceLoader,
                    ResourceHandlerSupport support,
                    java.lang.String contentType)
getResourceLoader
public ResourceLoader getResourceLoader()
- 
 
getInputStream
public java.io.InputStream getInputStream()
                                   throws java.io.IOException
- 
- Specified by:
- getInputStreamin class- javax.faces.application.Resource
 
- 
- Throws:
- java.io.IOException
 
getRequestPath
public java.lang.String getRequestPath()
- 
- Specified by:
- getRequestPathin class- javax.faces.application.Resource
 
- 
 
getResponseHeaders
public java.util.Map<java.lang.String,java.lang.String> getResponseHeaders()
- 
- Specified by:
- getResponseHeadersin class- javax.faces.application.Resource
 
- 
 
getURL
public java.net.URL getURL()
- 
- Specified by:
- getURLin class- javax.faces.application.Resource
 
- 
 
userAgentNeedsUpdate
public boolean userAgentNeedsUpdate(javax.faces.context.FacesContext context)
- 
- Specified by:
- userAgentNeedsUpdatein class- javax.faces.application.Resource
 
- 
 
getResourceHandlerSupport
protected ResourceHandlerSupport getResourceHandlerSupport()
- 
 
getResourceMeta
protected ResourceMeta getResourceMeta()
- 
 
Copyright © 2007-2012 The Apache Software Foundation. All Rights Reserved.