public class CacheUtils extends Object
Modifier and Type | Field and Description |
---|---|
static String |
ETAG_HEADER |
static String |
IF_MODIFIED_SINCE_HEADER |
static String |
IF_NONE_MATCH_HEADER |
static String |
LAST_MODIFIED_HEADER |
static String |
WEAK_VALIDATOR_TAG |
Modifier and Type | Method and Description |
---|---|
static boolean |
isValidCachedResponse(org.wso2.transport.http.netty.message.HttpCarbonMessage outboundResponse,
org.wso2.transport.http.netty.message.HttpCarbonMessage inboundRequest)
Method for revalidating a cached response.
|
public static final String WEAK_VALIDATOR_TAG
public static final String ETAG_HEADER
public static final String IF_NONE_MATCH_HEADER
public static final String IF_MODIFIED_SINCE_HEADER
public static final String LAST_MODIFIED_HEADER
public static boolean isValidCachedResponse(org.wso2.transport.http.netty.message.HttpCarbonMessage outboundResponse, org.wso2.transport.http.netty.message.HttpCarbonMessage inboundRequest)
outboundResponse
- The response to be sent to downstreaminboundRequest
- The request received from downstreamCopyright © 2019 WSO2. All rights reserved.