- CachableResponse - Class in org.wso2.carbon.mediator.cache
-
This object holds the cached response and the related properties of the cache
per request and will be stored in to the cache.
- CachableResponse() - Constructor for class org.wso2.carbon.mediator.cache.CachableResponse
-
- CACHE_INVALIDATION_TIME - Static variable in class org.wso2.carbon.mediator.cache.CachingConstants
-
Default cache invalidation time
- CACHE_MANAGER - Static variable in class org.wso2.carbon.mediator.cache.CachingConstants
-
String key to store the cache object
- CACHE_Q - Static variable in class org.wso2.carbon.mediator.cache.CachingConstants
-
QName of the cache mediator which will be used by the module
- CACHED_OBJECT - Static variable in class org.wso2.carbon.mediator.cache.CachingConstants
-
String key to store the cached response in the message context
- CacheMediator - Class in org.wso2.carbon.mediator.cache
-
CacheMediator will cache the response messages indexed using the hash value of the request message,
and subsequent messages with the same request (request hash will be generated and checked for the equality) within
the cache expiration period will be served from the stored responses in the cache
- CacheMediator() - Constructor for class org.wso2.carbon.mediator.cache.CacheMediator
-
- CacheMediatorFactory - Class in org.wso2.carbon.mediator.cache.config.xml
-
Creates an instance of a Cache mediator using XML configuration specified
- CacheMediatorFactory() - Constructor for class org.wso2.carbon.mediator.cache.config.xml.CacheMediatorFactory
-
- CacheMediatorSerializer - Class in org.wso2.carbon.mediator.cache.config.xml
-
Serializes the Cache mediator to the XML configuration specified
- CacheMediatorSerializer() - Constructor for class org.wso2.carbon.mediator.cache.config.xml.CacheMediatorSerializer
-
- CachingConstants - Class in org.wso2.carbon.mediator.cache
-
This class holds the mediator caching related constants
- CachingConstants() - Constructor for class org.wso2.carbon.mediator.cache.CachingConstants
-
- CachingException - Exception in org.wso2.carbon.mediator.cache
-
This is the CachingException which is a checked exception and will be thrown in case of
an error in the caching execution
- CachingException() - Constructor for exception org.wso2.carbon.mediator.cache.CachingException
-
Default constructor of the CachingException
- CachingException(String) - Constructor for exception org.wso2.carbon.mediator.cache.CachingException
-
This constructor of the CachingException sets the given String message to the Exception
- CachingException(String, Throwable) - Constructor for exception org.wso2.carbon.mediator.cache.CachingException
-
This constructor of the CachingException sets the given String message, and the
cause to the Exception
- CachingException(Throwable) - Constructor for exception org.wso2.carbon.mediator.cache.CachingException
-
This constructor of the CachingException sets the given cause to the Exception
- compareOMAttribute(OMAttribute, OMAttribute, String) - Method in class org.wso2.carbon.mediator.cache.digest.DOMHASHGenerator
-
Compares two OMAttributes for the XML equality
- compareOMDocument(OMDocument, OMDocument, String) - Method in class org.wso2.carbon.mediator.cache.digest.DOMHASHGenerator
-
Compares two OMDocuments for the XML equality
- compareOMNode(OMNode, OMNode, String) - Method in class org.wso2.carbon.mediator.cache.digest.DOMHASHGenerator
-
Compares two OMNodes for the XML equality
- createSpecificMediator(OMElement, Properties) - Method in class org.wso2.carbon.mediator.cache.config.xml.CacheMediatorFactory
-
- getAttributesWithoutNS(OMElement) - Method in class org.wso2.carbon.mediator.cache.digest.DOMHASHGenerator
-
Gets the collection of attributes which are none namespace declarations for an OMElement
sorted according to the expanded names of the attributes
- getDigest(MessageContext) - Method in interface org.wso2.carbon.mediator.cache.digest.DigestGenerator
-
This method will be implemented to return the unique XML node identifier
on the given XML node
- getDigest(MessageContext) - Method in class org.wso2.carbon.mediator.cache.digest.DOMHASHGenerator
-
This is the implementation of the getDigest method and will implement the DOMHASH
algorithm based XML node identifications.
- getDigest(OMNode, String) - Method in class org.wso2.carbon.mediator.cache.digest.DOMHASHGenerator
-
This is an overloaded method for the digest generation for OMNode
- getDigest(OMDocument, String) - Method in class org.wso2.carbon.mediator.cache.digest.DOMHASHGenerator
-
This is an overloaded method for the digest generation for OMDocument
- getDigest(OMElement, String) - Method in class org.wso2.carbon.mediator.cache.digest.DOMHASHGenerator
-
This is an overloaded method for the digest generation for OMElement
- getDigest(OMProcessingInstruction, String) - Method in class org.wso2.carbon.mediator.cache.digest.DOMHASHGenerator
-
This method is an overloaded method for the digest generation for OMProcessingInstruction
- getDigest(OMAttribute, String) - Method in class org.wso2.carbon.mediator.cache.digest.DOMHASHGenerator
-
This is an overloaded method for the digest generation for OMAttribute
- getDigest(OMText, String) - Method in class org.wso2.carbon.mediator.cache.digest.DOMHASHGenerator
-
This method is an overloaded method for the digest generation for OMText
- getDigest(MessageContext) - Method in class org.wso2.carbon.mediator.cache.digest.REQUESTHASHGenerator
-
This is the implementation of the getDigest method and will implement the Extended DOMHASH
algorithm based HTTP request identifications.
- getDigest(OMNode, String, Map<String, String>, String) - Method in class org.wso2.carbon.mediator.cache.digest.REQUESTHASHGenerator
-
This is an overloaded method for the digest generation for OMNode and request
- getDigest(OMElement, String, Map<String, String>, String) - Method in class org.wso2.carbon.mediator.cache.digest.REQUESTHASHGenerator
-
This is an overloaded method for the digest generation for OMElement and request
- getDigest(String, String, String) - Method in class org.wso2.carbon.mediator.cache.digest.REQUESTHASHGenerator
-
This is an overloaded method for the digest generation for HTTP header propery
- getDigestGenerator() - Method in class org.wso2.carbon.mediator.cache.CacheMediator
-
This method gives the DigestGenerator to evaluate the hash values of incoming messages.
- getDiskCacheSize() - Method in class org.wso2.carbon.mediator.cache.CacheMediator
-
This method gives the size of the messages to be cached in disk.
- getExpandedName(OMElement) - Method in class org.wso2.carbon.mediator.cache.digest.DOMHASHGenerator
-
This is an overloaded method for getting the expanded name as namespaceURI followed by
the local name for OMElement
- getExpandedName(OMAttribute) - Method in class org.wso2.carbon.mediator.cache.digest.DOMHASHGenerator
-
This is an overloaded method for getting the expanded name as namespaceURI followed by
the local name for OMAttribute
- getExpireTimeMillis() - Method in class org.wso2.carbon.mediator.cache.CachableResponse
-
This method gives the expireTimeMillis in the standard java system time format
- getHeaderProperties() - Method in class org.wso2.carbon.mediator.cache.CachableResponse
-
This method gives the HTTP Header Properties of the response
- getId() - Method in class org.wso2.carbon.mediator.cache.CacheMediator
-
This methods gives the ID of the cache configuration.
- getInlineSequence(SynapseConfiguration, int) - Method in class org.wso2.carbon.mediator.cache.CacheMediator
-
- getInMemoryCacheSize() - Method in class org.wso2.carbon.mediator.cache.CacheMediator
-
This method gives the size of the messages to be cached in memory.
- getMaxMessageSize() - Method in class org.wso2.carbon.mediator.cache.CacheMediator
-
This method gives the maximum size of the messages to be cached in bytes.
- getMediatorCache() - Static method in class org.wso2.carbon.mediator.cache.CacheMediator
-
Creates default cache to keep mediator cache
- getMediatorClassName() - Method in class org.wso2.carbon.mediator.cache.config.xml.CacheMediatorSerializer
-
- getMsgCtx() - Method in class org.wso2.carbon.mediator.cache.MediatorCacheInvalidator
-
This method gives the tenant message context.
- getOnCacheHitRef() - Method in class org.wso2.carbon.mediator.cache.CacheMediator
-
This method gives reference to the onCacheHit sequence to be executed.
- getOnCacheHitSequence() - Method in class org.wso2.carbon.mediator.cache.CacheMediator
-
This method gives SequenceMediator to be executed.
- getRequestHash() - Method in class org.wso2.carbon.mediator.cache.CachableResponse
-
This method gives the hash value of the request payload stored in the cache
- getRequestHash() - Method in class org.wso2.carbon.mediator.cache.util.RequestHash
-
This method gives the hash value of the request payload stored in the cache
- getResponseEnvelope() - Method in class org.wso2.carbon.mediator.cache.CachableResponse
-
This method gives the cached response envelope as a byte array
- getResponseHash() - Method in class org.wso2.carbon.mediator.cache.CachableResponse
-
This method gives the hash value of the response stored in the cache
- getScope() - Method in class org.wso2.carbon.mediator.cache.CacheMediator
-
This method gives the scope of the cache.
- getStringRepresentation(byte[]) - Method in class org.wso2.carbon.mediator.cache.digest.DOMHASHGenerator
-
Gets the String representation of the byte array
- getTagQName() - Method in class org.wso2.carbon.mediator.cache.config.xml.CacheMediatorFactory
-
- getTenantDomain() - Method in class org.wso2.carbon.mediator.cache.MediatorCacheInvalidator
-
This method gives the tenant domain.
- getTenantId() - Method in class org.wso2.carbon.mediator.cache.MediatorCacheInvalidator
-
This method gives the tenant ID.
- getTimeout() - Method in class org.wso2.carbon.mediator.cache.CachableResponse
-
This method gives the timeout period in milliseconds
- getTimeout() - Method in class org.wso2.carbon.mediator.cache.CacheMediator
-
This method gives the timeout period in milliseconds.
- getValidElements(OMDocument) - Method in class org.wso2.carbon.mediator.cache.digest.DOMHASHGenerator
-
Gets the valid element collection of an OMDocument.
- SCOPE_DISTRIBUTED - Static variable in class org.wso2.carbon.mediator.cache.CachingConstants
-
distributed cache scope attribute value
- SCOPE_PER_HOST - Static variable in class org.wso2.carbon.mediator.cache.CachingConstants
-
per-host cache scope attribute value
- SCOPE_PER_MEDIATOR - Static variable in class org.wso2.carbon.mediator.cache.CachingConstants
-
per-mediator cache scope attribute value
- serializeChildren(OMElement, List<Mediator>) - Method in class org.wso2.carbon.mediator.cache.config.xml.CacheMediatorSerializer
-
Creates XML representation of the child mediators
- serializeSpecificMediator(Mediator) - Method in class org.wso2.carbon.mediator.cache.config.xml.CacheMediatorSerializer
-
- setCollector(boolean) - Method in class org.wso2.carbon.mediator.cache.CacheMediator
-
This method sets whether the mediator should be in the incoming path or in the outgoing path as a boolean.
- setDigestGenerator(DigestGenerator) - Method in class org.wso2.carbon.mediator.cache.CacheMediator
-
This method sets the DigestGenerator to evaluate the hash values of incoming messages.
- setDiskCacheSize(int) - Method in class org.wso2.carbon.mediator.cache.CacheMediator
-
This method sets the size of the messages to be cached in disk.
- setExpireTimeMillis(long) - Method in class org.wso2.carbon.mediator.cache.CachableResponse
-
This method sets the refresh time to the cached response
- setHeaderProperties(Map<String, Object>) - Method in class org.wso2.carbon.mediator.cache.CachableResponse
-
This method sets the HTTP Header Properties of the response
- setId(String) - Method in class org.wso2.carbon.mediator.cache.CacheMediator
-
This methods sets the ID of the cache configuration.
- setInMemoryCacheSize(int) - Method in class org.wso2.carbon.mediator.cache.CacheMediator
-
This method sets the size of the messages to be cached in memory.
- setInUse(boolean) - Method in class org.wso2.carbon.mediator.cache.CachableResponse
-
This method sets referred cache object is in used
- setMaxMessageSize(int) - Method in class org.wso2.carbon.mediator.cache.CacheMediator
-
This method sets the maximum size of the messages to be cached in bytes.
- setMsgCtx(MessageContext) - Method in class org.wso2.carbon.mediator.cache.MediatorCacheInvalidator
-
This method sets the message context.
- setOnCacheHitRef(String) - Method in class org.wso2.carbon.mediator.cache.CacheMediator
-
This method sets reference to the onCacheHit sequence to be executed.
- setOnCacheHitSequence(SequenceMediator) - Method in class org.wso2.carbon.mediator.cache.CacheMediator
-
This method sets SequenceMediator to be executed.
- setRequestHash(String) - Method in class org.wso2.carbon.mediator.cache.CachableResponse
-
This method sets the hash of the request to the cache
- setResponseEnvelope(byte[]) - Method in class org.wso2.carbon.mediator.cache.CachableResponse
-
This method sets the response envelope to the cache as a byte array
- setResponseHash(String) - Method in class org.wso2.carbon.mediator.cache.CachableResponse
-
This method sets the hash of the response to the cache
- setScope(String) - Method in class org.wso2.carbon.mediator.cache.CacheMediator
-
This method sets the scope of the cache.
- setSOAP11(boolean) - Method in class org.wso2.carbon.mediator.cache.CachableResponse
-
This method sets the soap format of the response message is SOAP11 or not
- setTenantDomain(String) - Method in class org.wso2.carbon.mediator.cache.MediatorCacheInvalidator
-
This method sets the tenant domain.
- setTenantId(int) - Method in class org.wso2.carbon.mediator.cache.MediatorCacheInvalidator
-
This method sets the tenant ID
- setTimeout(long) - Method in class org.wso2.carbon.mediator.cache.CachableResponse
-
This method sets the timeout period as milliseconds
- setTimeout(long) - Method in class org.wso2.carbon.mediator.cache.CacheMediator
-
This method sets the timeout period as milliseconds.
- SHA1_DIGEST_ALGORITHM - Static variable in class org.wso2.carbon.mediator.cache.digest.DOMHASHGenerator
-
String representing the SHA1 digest algorithm
- SHA_DIGEST_ALGORITHM - Static variable in class org.wso2.carbon.mediator.cache.digest.DOMHASHGenerator
-
String representing the SHA digest algorithm
- SOAPMessageHelper - Class in org.wso2.carbon.mediator.cache.util
-
This class provides utility method to building soap messages.
- SOAPMessageHelper() - Constructor for class org.wso2.carbon.mediator.cache.util.SOAPMessageHelper
-