Uses of Class
com.sun.faces.application.resource.ResourceInfo
Packages that use ResourceInfo
- 
Uses of ResourceInfo in com.sun.faces.application.resourceSubclasses of ResourceInfo in com.sun.faces.application.resourceModifier and TypeClassDescriptionclassClientResourceInfois a simple wrapper class for information pertinent to building a complete resource path using a Library.classMethods in com.sun.faces.application.resource that return ResourceInfoModifier and TypeMethodDescriptionResourceCache.add(ResourceInfo info, List<String> contracts) Add theResourceInfoto the internal cache.ClasspathResourceHelper.findResource(LibraryInfo library, String resourceName, String localePrefix, boolean compressable, FacesContext ctx) FaceletWebappResourceHelper.findResource(LibraryInfo library, String resourceName, String localePrefix, boolean compressable, FacesContext ctx) abstract ResourceInfoResourceHelper.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.ResourceManager.findResource(String libraryName, String resourceName, String contentType, boolean isViewResource, FacesContext ctx) ResourceManager.findResource(String libraryName, String resourceName, String contentType, FacesContext ctx) WebappResourceHelper.findResource(LibraryInfo library, String resourceName, String localePrefix, boolean compressable, FacesContext ctx) ResourceManager.findViewResource(String resourceName, String contentType, FacesContext facesContext) Methods in com.sun.faces.application.resource with parameters of type ResourceInfoModifier and TypeMethodDescriptionResourceCache.add(ResourceInfo info, List<String> contracts) Add theResourceInfoto the internal cache.voidResourceInfo.copy(ResourceInfo other) ResourceHelper.getInputStream(ResourceInfo toStream, FacesContext ctx) If the resource is compressable, return an InputStream to read the compressed content, otherwise, callResourceHelper.getNonCompressedInputStream(ResourceInfo, jakarta.faces.context.FacesContext)to return the content of the original resource.longResourceHelper.getLastModified(ResourceInfo resource, FacesContext ctx) The default implementation of this method will call through toResourceHelper.getURL(ResourceInfo, jakarta.faces.context.FacesContext)and leverage the URL to obtain the date information of the resource and return the value ofURLConnection.getLastModified()protected InputStreamClasspathResourceHelper.getNonCompressedInputStream(ResourceInfo resource, FacesContext ctx) protected InputStreamFaceletWebappResourceHelper.getNonCompressedInputStream(ResourceInfo info, FacesContext ctx) protected abstract InputStreamResourceHelper.getNonCompressedInputStream(ResourceInfo info, FacesContext ctx) If aResourceInfois not compressable,ResourceHelper.getInputStream(ResourceInfo, jakarta.faces.context.FacesContext)will call this method to return a stream to the actual resource.protected InputStreamWebappResourceHelper.getNonCompressedInputStream(ResourceInfo resource, FacesContext ctx) ClasspathResourceHelper.getURL(ResourceInfo resource, FacesContext ctx) FaceletWebappResourceHelper.getURL(ResourceInfo resource, FacesContext ctx) abstract URLResourceHelper.getURL(ResourceInfo resource, FacesContext ctx) WebappResourceHelper.getURL(ResourceInfo resource, FacesContext ctx) Constructors in com.sun.faces.application.resource with parameters of type ResourceInfoModifierConstructorDescriptionResourceImpl(ResourceInfo resourceInfo, String contentType, long initialTime, long maxAge) Creates a new instance of ResourceBaseResourceInfo(ResourceInfo other, boolean copyLocalePrefix)