public class ResourceHandlerCache extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ResourceHandlerCache.ResourceKey |
static class |
ResourceHandlerCache.ResourceValue |
Constructor and Description |
---|
ResourceHandlerCache() |
Modifier and Type | Method and Description |
---|---|
void |
confirmLibraryExists(String libraryName) |
void |
confirmLibraryNotExists(String libraryName) |
boolean |
containsResource(String resourceId) |
boolean |
containsResource(String resourceId,
String contractName) |
boolean |
containsResource(String resourceName,
String libraryName,
String contentType,
String localePrefix) |
boolean |
containsResource(String resourceName,
String libraryName,
String contentType,
String localePrefix,
String contractName) |
boolean |
containsViewResource(String resourceName,
String contentType,
String localePrefix) |
boolean |
containsViewResource(String resourceName,
String contentType,
String localePrefix,
String contractName) |
ResourceHandlerCache.ResourceValue |
getResource(String resourceId) |
ResourceHandlerCache.ResourceValue |
getResource(String resourceId,
String contractName) |
ResourceHandlerCache.ResourceValue |
getResource(String resourceName,
String libraryName,
String contentType,
String localePrefix) |
ResourceHandlerCache.ResourceValue |
getResource(String resourceName,
String libraryName,
String contentType,
String localePrefix,
String contractName) |
ResourceHandlerCache.ResourceValue |
getViewResource(String resourceName,
String contentType,
String localePrefix) |
ResourceHandlerCache.ResourceValue |
getViewResource(String resourceName,
String contentType,
String localePrefix,
String contractName) |
Boolean |
libraryExists(String libraryName) |
void |
putResource(String resourceId,
ResourceMeta resource,
ResourceLoader loader,
ResourceCachedInfo info) |
void |
putResource(String resourceName,
String libraryName,
String contentType,
String localePrefix,
ResourceMeta resource,
ResourceLoader loader) |
void |
putResource(String resourceName,
String libraryName,
String contentType,
String localePrefix,
String contractName,
ResourceMeta resource,
ResourceLoader loader,
ResourceCachedInfo info) |
void |
putViewResource(String resourceName,
String contentType,
String localePrefix,
ResourceMeta resource,
ResourceLoader loader,
ResourceCachedInfo info) |
void |
putViewResource(String resourceName,
String contentType,
String localePrefix,
String contractName,
ResourceMeta resource,
ResourceLoader loader,
ResourceCachedInfo info) |
public ResourceHandlerCache.ResourceValue getResource(String resourceName, String libraryName, String contentType, String localePrefix)
public ResourceHandlerCache.ResourceValue getResource(String resourceName, String libraryName, String contentType, String localePrefix, String contractName)
public boolean containsResource(String resourceName, String libraryName, String contentType, String localePrefix)
public boolean containsResource(String resourceName, String libraryName, String contentType, String localePrefix, String contractName)
public void putResource(String resourceName, String libraryName, String contentType, String localePrefix, ResourceMeta resource, ResourceLoader loader)
public void putResource(String resourceName, String libraryName, String contentType, String localePrefix, String contractName, ResourceMeta resource, ResourceLoader loader, ResourceCachedInfo info)
public ResourceHandlerCache.ResourceValue getResource(String resourceId)
public ResourceHandlerCache.ResourceValue getResource(String resourceId, String contractName)
public boolean containsResource(String resourceId)
public void putResource(String resourceId, ResourceMeta resource, ResourceLoader loader, ResourceCachedInfo info)
public boolean containsViewResource(String resourceName, String contentType, String localePrefix)
public boolean containsViewResource(String resourceName, String contentType, String localePrefix, String contractName)
public ResourceHandlerCache.ResourceValue getViewResource(String resourceName, String contentType, String localePrefix)
public ResourceHandlerCache.ResourceValue getViewResource(String resourceName, String contentType, String localePrefix, String contractName)
public void putViewResource(String resourceName, String contentType, String localePrefix, ResourceMeta resource, ResourceLoader loader, ResourceCachedInfo info)
public void putViewResource(String resourceName, String contentType, String localePrefix, String contractName, ResourceMeta resource, ResourceLoader loader, ResourceCachedInfo info)
public void confirmLibraryExists(String libraryName)
public void confirmLibraryNotExists(String libraryName)
Copyright © 2020 The Apache Software Foundation. All rights reserved.