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 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 |
HASH_GENERATOR_STRING |
static String |
HEADERS_TO_EXCLUDE_STRING |
static String |
HTTP_PROTOCOL_TYPE
The HTTP protocol.
|
static String |
IMPLEMENTATION_STRING |
static String |
MAX_MESSAGE_SIZE_STRING |
static String |
MAX_SIZE_STRING |
static String |
METHODS_STRING |
static String |
ON_CACHE_HIT_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 |
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 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
Copyright © 2018 WSO2. All rights reserved.