org.apache.myfaces.shared.resource
Class ResourceImpl
java.lang.Object
javax.faces.application.Resource
org.apache.myfaces.shared.resource.ResourceImpl
public class ResourceImpl
- extends Resource
Default implementation for resources
- Version:
- $Revision: 1243599 $ $Date: 2012-02-13 11:43:54 -0500 (Mon, 13 Feb 2012) $
- Author:
- Leonardo Uribe (latest modification by $Author: lu4242 $)
JAVAX_FACES_LIBRARY_NAME
protected static final String JAVAX_FACES_LIBRARY_NAME
- See Also:
- Constant Field Values
JSF_JS_RESOURCE_NAME
protected static final String JSF_JS_RESOURCE_NAME
- See Also:
- Constant Field Values
ResourceImpl
public ResourceImpl(ResourceMeta resourceMeta,
ResourceLoader resourceLoader,
ResourceHandlerSupport support,
String contentType)
getResourceLoader
public ResourceLoader getResourceLoader()
getInputStream
public InputStream getInputStream()
throws IOException
- Specified by:
getInputStream
in class Resource
- Throws:
IOException
getRequestPath
public String getRequestPath()
- Specified by:
getRequestPath
in class Resource
getResponseHeaders
public Map<String,String> getResponseHeaders()
- Specified by:
getResponseHeaders
in class Resource
getURL
public URL getURL()
- Specified by:
getURL
in class Resource
userAgentNeedsUpdate
public boolean userAgentNeedsUpdate(FacesContext context)
- Specified by:
userAgentNeedsUpdate
in class Resource
getResourceHandlerSupport
protected ResourceHandlerSupport getResourceHandlerSupport()
getResourceMeta
protected ResourceMeta getResourceMeta()
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.