public class CachingConstants extends Object
Modifier and Type | Field and Description |
---|---|
static String |
ALL
To represent all-values in certain places in the cache mediator
|
static String |
ANY_RESPONSE_CODE
The regex for the 2xx response code.
|
static String |
CACHE_KEY
The the header that would be used to return the hashed value to invalidate this value.
|
static String |
CACHE_LOCAL_NAME
Local name of the cache mediator which will be used by the module.
|
static QName |
CACHE_Q
QName of the cache mediator which will be used by the module.
|
static String |
CACHED_OBJECT
String key to store the cached response in the message context.
|
static String |
COLLECTOR_STRING |
static String |
DATE_PATTERN |
static boolean |
DEFAULT_ADD_AGE_HEADER
The default value for addAgeHeader.
|
static boolean |
DEFAULT_ENABLE_CACHE_CONTROL
The default value for enableCacheControl.
|
static DigestGenerator |
DEFAULT_HASH_GENERATOR
Default DigestGenerator for the caching impl.
|
static int |
DEFAULT_SIZE
The default size for the maxSize and maxMessageSize
|
static long |
DEFAULT_TIMEOUT
This holds the default timeout of the mediator cache in seconds .
|
static String |
ENABLE_CACHE_CONTROL_STRING |
static String |
HASH_GENERATOR_STRING |
static String |
HEADERS_TO_EXCLUDE_STRING |
static String |
HTTP_PROTOCOL_TYPE
The HTTP protocol.
|
static String |
ID_STRING |
static String |
IF_NONE_MATCH |
static String |
IMPLEMENTATION_STRING |
static String |
INCLUDE_AGE_HEADER_STRING |
static String |
MAX_AGE_STRING |
static String |
MAX_MESSAGE_SIZE_STRING |
static String |
MAX_SIZE_STRING |
static String |
METHODS_STRING |
static String |
NO_CACHE_STRING |
static String |
NO_STORE_STRING |
static String |
ON_CACHE_HIT_STRING |
static String[] |
PERMANENTLY_EXCLUDED_HEADERS
Headers which need to be permanently excluded in hashing due to its dynamic nature.
|
static String |
PERMANENTLY_EXCLUDED_HEADERS_STRING |
static String |
PROTOCOL_STRING |
static String |
REQUEST_HASH
String key to store the the request hash in the message context.
|
static String |
RESPONSE_CODES_STRING |
static String |
SCOPE_STRING |
static String |
SEQUENCE_STRING |
static String |
TIMEOUT_STRING
Following names represent the local names used in QNames in MediatorFactory, Serializer and the UI
CacheMediator.
|
static String |
TYPE_STRING |
Constructor and Description |
---|
CachingConstants() |
public static final DigestGenerator DEFAULT_HASH_GENERATOR
public static final QName CACHE_Q
public static final String CACHE_LOCAL_NAME
public static final long DEFAULT_TIMEOUT
public static final String ALL
public static final String HTTP_PROTOCOL_TYPE
public static final String ANY_RESPONSE_CODE
public static final String REQUEST_HASH
public static final String CACHED_OBJECT
public static final String CACHE_KEY
public static final int DEFAULT_SIZE
public static final boolean DEFAULT_ENABLE_CACHE_CONTROL
public static final boolean DEFAULT_ADD_AGE_HEADER
public static final String[] PERMANENTLY_EXCLUDED_HEADERS
public static final String TIMEOUT_STRING
public static final String COLLECTOR_STRING
public static final String MAX_MESSAGE_SIZE_STRING
public static final String ON_CACHE_HIT_STRING
public static final String SEQUENCE_STRING
public static final String PROTOCOL_STRING
public static final String METHODS_STRING
public static final String HEADERS_TO_EXCLUDE_STRING
public static final String TYPE_STRING
public static final String RESPONSE_CODES_STRING
public static final String HASH_GENERATOR_STRING
public static final String IMPLEMENTATION_STRING
public static final String MAX_SIZE_STRING
public static final String ENABLE_CACHE_CONTROL_STRING
public static final String INCLUDE_AGE_HEADER_STRING
public static final String IF_NONE_MATCH
public static final String DATE_PATTERN
public static final String NO_CACHE_STRING
public static final String MAX_AGE_STRING
public static final String NO_STORE_STRING
public static final String ID_STRING
public static final String SCOPE_STRING
public static final String PERMANENTLY_EXCLUDED_HEADERS_STRING
Copyright © 2019 WSO2. All rights reserved.