| 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 |
WebappResourceHelper.findResource(LibraryInfo library,
String resourceName,
String localePrefix,
boolean compressable,
jakarta.faces.context.FacesContext ctx) |
abstract ResourceInfo |
ResourceHelper.findResource(LibraryInfo library,
String resourceName,
String localePrefix,
boolean compressable,
jakarta.faces.context.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,
jakarta.faces.context.FacesContext ctx) |
ResourceInfo |
ClasspathResourceHelper.findResource(LibraryInfo library,
String resourceName,
String localePrefix,
boolean compressable,
jakarta.faces.context.FacesContext ctx) |
ResourceInfo |
ResourceManager.findResource(String libraryName,
String resourceName,
String contentType,
boolean isViewResource,
jakarta.faces.context.FacesContext ctx) |
ResourceInfo |
ResourceManager.findResource(String libraryName,
String resourceName,
String contentType,
jakarta.faces.context.FacesContext ctx)
Attempt to lookup a
ResourceInfo based on the specified libraryName |
ResourceInfo |
ResourceManager.findViewResource(String resourceName,
String contentType,
jakarta.faces.context.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,
jakarta.faces.context.FacesContext ctx)
If the resource is compressable, return an InputStream to read the compressed content, otherwise, call
ResourceHelper.getNonCompressedInputStream(ResourceInfo, jakarta.faces.context.FacesContext) to return the content of the
original resource. |
long |
ResourceHelper.getLastModified(ResourceInfo resource,
jakarta.faces.context.FacesContext ctx)
The default implementation of this method will call through to
ResourceHelper.getURL(ResourceInfo, jakarta.faces.context.FacesContext) and leverage the URL to obtain the
date information of the resource and return the value of URLConnection.getLastModified() |
protected InputStream |
WebappResourceHelper.getNonCompressedInputStream(ResourceInfo resource,
jakarta.faces.context.FacesContext ctx) |
protected abstract InputStream |
ResourceHelper.getNonCompressedInputStream(ResourceInfo info,
jakarta.faces.context.FacesContext ctx)
If a
ResourceInfo is not compressable,
ResourceHelper.getInputStream(ResourceInfo, jakarta.faces.context.FacesContext) will call this method to return a stream to
the actual resource. |
protected InputStream |
FaceletWebappResourceHelper.getNonCompressedInputStream(ResourceInfo info,
jakarta.faces.context.FacesContext ctx) |
protected InputStream |
ClasspathResourceHelper.getNonCompressedInputStream(ResourceInfo resource,
jakarta.faces.context.FacesContext ctx) |
URL |
WebappResourceHelper.getURL(ResourceInfo resource,
jakarta.faces.context.FacesContext ctx) |
abstract URL |
ResourceHelper.getURL(ResourceInfo resource,
jakarta.faces.context.FacesContext ctx) |
URL |
FaceletWebappResourceHelper.getURL(ResourceInfo resource,
jakarta.faces.context.FacesContext ctx) |
URL |
ClasspathResourceHelper.getURL(ResourceInfo resource,
jakarta.faces.context.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) |
Copyright © 2010–2022 JBoss by Red Hat. All rights reserved.