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, toStringprotected 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 ResourceIOExceptionpublic String getRequestPath()
getRequestPath in class Resourcepublic Map<String,String> getResponseHeaders()
getResponseHeaders in class Resourcepublic boolean userAgentNeedsUpdate(FacesContext context)
userAgentNeedsUpdate in class Resourceprotected ResourceHandlerSupport getResourceHandlerSupport()
protected ResourceMeta getResourceMeta()
Copyright © 2016 The Apache Software Foundation. All Rights Reserved.