public class ResourceImpl extends Resource
Modifier and Type | Field and Description |
---|---|
protected static String |
JAVAX_FACES_LIBRARY_NAME |
protected static String |
JSF_JS_RESOURCE_NAME |
COMPONENT_RESOURCE_KEY
Constructor and Description |
---|
ResourceImpl(ResourceMeta resourceMeta,
ResourceLoader resourceLoader,
ResourceHandlerSupport support,
String contentType) |
Modifier and Type | Method and Description |
---|---|
InputStream |
getInputStream() |
String |
getRequestPath() |
protected ResourceHandlerSupport |
getResourceHandlerSupport() |
ResourceLoader |
getResourceLoader() |
protected ResourceMeta |
getResourceMeta() |
Map<String,String> |
getResponseHeaders() |
URL |
getURL() |
boolean |
userAgentNeedsUpdate(FacesContext context) |
getContentType, getLibraryName, getResourceName, setContentType, setLibraryName, setResourceName, toString
protected static final String JAVAX_FACES_LIBRARY_NAME
protected static final String JSF_JS_RESOURCE_NAME
public ResourceImpl(ResourceMeta resourceMeta, ResourceLoader resourceLoader, ResourceHandlerSupport support, String contentType)
public ResourceLoader getResourceLoader()
public InputStream getInputStream() throws IOException
getInputStream
in class Resource
IOException
public String getRequestPath()
getRequestPath
in class Resource
public Map<String,String> getResponseHeaders()
getResponseHeaders
in class Resource
public boolean userAgentNeedsUpdate(FacesContext context)
userAgentNeedsUpdate
in class Resource
protected ResourceHandlerSupport getResourceHandlerSupport()
protected ResourceMeta getResourceMeta()
Copyright © 2016 The Apache Software Foundation. All Rights Reserved.