public class CombinedResource extends DynamicResource
This Resource implementation holds all the necessary information about combined resources in order to
properly serve combined resources on a single HTTP request.
COMPONENT_RESOURCE_KEY| Constructor and Description |
|---|
CombinedResource(String resourceName,
Integer cacheTTL)
Constructs a new combined resource based on the given resource name.
|
| Modifier and Type | Method and Description |
|---|---|
InputStream |
getInputStream() |
long |
getLastModified()
Returns the "last modified" timestamp of this resource.
|
getRequestPath, getResponseHeaders, getURL, setLastModified, userAgentNeedsUpdategetContentType, getLibraryName, getResourceName, setContentType, setLibraryName, setResourceName, toStringpublic CombinedResource(String resourceName, Integer cacheTTL)
DefaultResourceHandler.createResource(String, String).resourceName - The resource name of the combined resource.cacheTTL - The combined resource content cache TTL.public long getLastModified()
DynamicResourcegetLastModified in class DynamicResourcepublic InputStream getInputStream() throws IOException
getInputStream in class ResourceIOExceptionCopyright © 2012–2016 OmniFaces. All rights reserved.