@ExperimentalApi public class RequestCachingConditionHelper extends Object
ServletRequest.setAttribute(String, Object)
.
Use ConditionCacheKeys
class to create cache keys.
Constructor and Description |
---|
RequestCachingConditionHelper() |
Modifier and Type | Method and Description |
---|---|
static boolean |
cacheConditionResultInRequest(ConditionCacheKey cacheKey,
com.google.common.base.Supplier<Boolean> supplier) |
public static boolean cacheConditionResultInRequest(@Nonnull ConditionCacheKey cacheKey, @Nonnull com.google.common.base.Supplier<Boolean> supplier)
Copyright © 2002-2021 Atlassian. All Rights Reserved.