-
addAgeHeaderEnabled
boolean addAgeHeaderEnabled
This specifies whether an age header needs to be included in the cached response.
-
cacheControlEnabled
boolean cacheControlEnabled
This specifies whether the mediator should honor cache-control header.
-
headerProperties
Map<String,Object> headerProperties
This holds the HTTP Header Properties of the response.
-
httpMethod
String httpMethod
This is used to store the http method of the request.
-
hTTPMethodsToCache
String[] hTTPMethodsToCache
The http method type that needs to be cached.
-
json
boolean json
States whether response is json or not
-
maxMessageSize
int maxMessageSize
The maximum size of the messages to be cached. This is specified in bytes.
-
protocolType
String protocolType
The protocol type used in caching.
-
requestHash
String requestHash
This holds the hash value of the request payload which is calculated form the specified DigestGenerator, and is
used to index the cached response
-
responseCodePattern
Pattern responseCodePattern
The compiled pattern for the regex of the responseCodes.
-
responseEnvelope
org.apache.axiom.soap.SOAPEnvelope responseEnvelope
The response is stored as a SOAPEnvelope (This cannot be used if supporting a cluster because SOAPEnvelope is not
serializable)
-
responseFetchedTime
long responseFetchedTime
This is used to store the originated time of the response.
-
responsePayload
byte[] responsePayload
This holds the reference to the response for json
-
statusCode
String statusCode
The HTTP status code number of the response
-
statusReason
String statusReason
The HTTP response's Reason- Phrase that is sent by the backend.
-
timeout
long timeout
This holds the timeout period of the cached response which will be used at the next refresh time in order to
generate the expireTimeMillis