Package org.apache.myfaces.resource
Class ResourceHandlerCache
java.lang.Object
org.apache.myfaces.resource.ResourceHandlerCache
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconfirmLibraryExists(String libraryName) voidconfirmLibraryNotExists(String libraryName) booleancontainsResource(String resourceId) booleancontainsResource(String resourceId, String contractName) booleancontainsResource(String resourceName, String libraryName, String contentType, String localePrefix) booleancontainsResource(String resourceName, String libraryName, String contentType, String localePrefix, String contractName) booleancontainsViewResource(String resourceName, String contentType, String localePrefix) booleancontainsViewResource(String resourceName, String contentType, String localePrefix, String contractName) getResource(String resourceId) getResource(String resourceId, String contractName) getResource(String resourceName, String libraryName, String contentType, String localePrefix) getResource(String resourceName, String libraryName, String contentType, String localePrefix, String contractName) getViewResource(String resourceName, String contentType, String localePrefix) getViewResource(String resourceName, String contentType, String localePrefix, String contractName) booleanlibraryExists(String libraryName) voidputResource(String resourceName, String libraryName, String contentType, String localePrefix, String contractName, ResourceMeta resource, ResourceLoader loader, ResourceCachedInfo info) voidputResource(String resourceName, String libraryName, String contentType, String localePrefix, ResourceMeta resource, ResourceLoader loader) voidputResource(String resourceId, ResourceMeta resource, ResourceLoader loader, ResourceCachedInfo info) voidputViewResource(String resourceName, String contentType, String localePrefix, String contractName, ResourceMeta resource, ResourceLoader loader, ResourceCachedInfo info) voidputViewResource(String resourceName, String contentType, String localePrefix, ResourceMeta resource, ResourceLoader loader, ResourceCachedInfo info)
-
Constructor Details
-
ResourceHandlerCache
public ResourceHandlerCache()
-
-
Method Details
-
isResourceHandlerCacheEnabled
public boolean isResourceHandlerCacheEnabled() -
getResource
public ResourceHandlerCache.ResourceValue getResource(String resourceName, String libraryName, String contentType, String localePrefix) -
getResource
-
containsResource
-
containsResource
-
putResource
public void putResource(String resourceName, String libraryName, String contentType, String localePrefix, ResourceMeta resource, ResourceLoader loader) -
putResource
public void putResource(String resourceName, String libraryName, String contentType, String localePrefix, String contractName, ResourceMeta resource, ResourceLoader loader, ResourceCachedInfo info) -
getResource
-
getResource
-
containsResource
-
containsResource
-
putResource
public void putResource(String resourceId, ResourceMeta resource, ResourceLoader loader, ResourceCachedInfo info) -
containsViewResource
-
containsViewResource
-
getViewResource
public ResourceHandlerCache.ResourceValue getViewResource(String resourceName, String contentType, String localePrefix) -
getViewResource
public ResourceHandlerCache.ResourceValue getViewResource(String resourceName, String contentType, String localePrefix, String contractName) -
putViewResource
public void putViewResource(String resourceName, String contentType, String localePrefix, ResourceMeta resource, ResourceLoader loader, ResourceCachedInfo info) -
putViewResource
public void putViewResource(String resourceName, String contentType, String localePrefix, String contractName, ResourceMeta resource, ResourceLoader loader, ResourceCachedInfo info) -
libraryExists
-
confirmLibraryExists
-
confirmLibraryNotExists
-