public class CacheUtils
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ETAG_HEADER |
static java.lang.String |
IF_MODIFIED_SINCE_HEADER |
static java.lang.String |
IF_NONE_MATCH_HEADER |
static java.lang.String |
LAST_MODIFIED_HEADER |
static java.lang.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 java.lang.String WEAK_VALIDATOR_TAG
public static final java.lang.String ETAG_HEADER
public static final java.lang.String IF_NONE_MATCH_HEADER
public static final java.lang.String IF_MODIFIED_SINCE_HEADER
public static final java.lang.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 © 2005-2022 Apache Software Foundation. All Rights Reserved.