Package | Description |
---|---|
com.sun.faces.application.resource |
Modifier and Type | Class and Description |
---|---|
class |
ClientResourceInfo
ClientResourceInfo is a simple wrapper class for information
pertinent to building a complete resource path using a Library. |
class |
FaceletResourceInfo |
Modifier and Type | Method and Description |
---|---|
ResourceInfo |
ResourceCache.add(ResourceInfo info,
List<String> contracts)
Add the
ResourceInfo to the internal cache. |
ResourceInfo |
ClasspathResourceHelper.findResource(LibraryInfo library,
String resourceName,
String localePrefix,
boolean compressable,
FacesContext ctx) |
ResourceInfo |
WebappResourceHelper.findResource(LibraryInfo library,
String resourceName,
String localePrefix,
boolean compressable,
FacesContext ctx) |
abstract ResourceInfo |
ResourceHelper.findResource(LibraryInfo library,
String resourceName,
String localePrefix,
boolean compressable,
FacesContext ctx)
Search for the specified resource based in the library/localePrefix/resourceName
combination in an implementation dependent manner.
|
ResourceInfo |
FaceletWebappResourceHelper.findResource(LibraryInfo library,
String resourceName,
String localePrefix,
boolean compressable,
FacesContext ctx) |
ResourceInfo |
ResourceManager.findResource(String libraryName,
String resourceName,
String contentType,
boolean isViewResource,
FacesContext ctx) |
ResourceInfo |
ResourceManager.findResource(String libraryName,
String resourceName,
String contentType,
FacesContext ctx)
Attempt to lookup a
ResourceInfo based on the specified
libraryName |
ResourceInfo |
ResourceManager.findViewResource(String resourceName,
String contentType,
FacesContext facesContext) |
ResourceInfo |
ResourceCache.get(String name,
String libraryName,
String localePrefix,
List<String> contracts) |
Modifier and Type | Method and Description |
---|---|
ResourceInfo |
ResourceCache.add(ResourceInfo info,
List<String> contracts)
Add the
ResourceInfo to the internal cache. |
void |
ResourceInfo.copy(ResourceInfo other) |
InputStream |
ResourceHelper.getInputStream(ResourceInfo toStream,
FacesContext ctx)
If the resource is compressable, return an InputStream to read the
compressed content, otherwise, call
ResourceHelper.getNonCompressedInputStream(ResourceInfo, javax.faces.context.FacesContext)
to return the content of the original resource. |
long |
ResourceHelper.getLastModified(ResourceInfo resource,
FacesContext ctx)
The default implementation of this method will call through to
ResourceHelper.getURL(ResourceInfo, javax.faces.context.FacesContext)
and leverage the URL to obtain the date information of the resource and
return the value of URLConnection.getLastModified() |
protected InputStream |
ClasspathResourceHelper.getNonCompressedInputStream(ResourceInfo resource,
FacesContext ctx) |
protected InputStream |
WebappResourceHelper.getNonCompressedInputStream(ResourceInfo resource,
FacesContext ctx) |
protected abstract InputStream |
ResourceHelper.getNonCompressedInputStream(ResourceInfo info,
FacesContext ctx)
If a
ResourceInfo is not compressable, ResourceHelper.getInputStream(ResourceInfo, javax.faces.context.FacesContext)
will call this method to return a stream to the actual resource. |
protected InputStream |
FaceletWebappResourceHelper.getNonCompressedInputStream(ResourceInfo info,
FacesContext ctx) |
URL |
ClasspathResourceHelper.getURL(ResourceInfo resource,
FacesContext ctx) |
URL |
WebappResourceHelper.getURL(ResourceInfo resource,
FacesContext ctx) |
abstract URL |
ResourceHelper.getURL(ResourceInfo resource,
FacesContext ctx) |
URL |
FaceletWebappResourceHelper.getURL(ResourceInfo resource,
FacesContext ctx) |
Constructor and Description |
---|
ResourceImpl(ResourceInfo resourceInfo,
String contentType,
long initialTime,
long maxAge)
Creates a new instance of ResourceBase
|
ResourceInfo(ResourceInfo other,
boolean copyLocalePrefix) |
Comments to: faces-dev@eclipse.org.
Copyright © 2019 Eclipse Foundation. All rights reserved.
Use is subject to license terms.