public class RequestHash extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
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.
|
Constructor and Description |
---|
RequestHash(String requestHash)
RequestHash constructor sets the hash of the request to the cache
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getRequestHash()
This method gives the hash value of the request payload stored in the cache
|
int |
hashCode() |
public String requestHash
public RequestHash(String requestHash)
requestHash
- - hash of the request payload to be set as an Stringpublic String getRequestHash()
Copyright © 2017 WSO2. All rights reserved.