#include <CacheControl.h>
Inherits ControlBase.
Public Member Functions | |
CacheControlRecord () | |
char * | Init (matcher_line *line_info) |
inkcoreapi void | UpdateMatch (CacheControlResult *result, RequestData *rdata) |
void | Print () |
Data Fields | |
CacheControlType | directive |
int | time_arg |
int | cache_responses_to_cookies |
Definition at line 123 of file CacheControl.h.
CacheControlRecord::CacheControlRecord | ( | ) | [inline] |
Definition at line 136 of file CacheControl.h.
char * CacheControlRecord::Init | ( | matcher_line * | line_info | ) |
Definition at line 275 of file CacheControl.cc.
References ats_malloc(), cache_responses_to_cookies, directive, matcher_line::line, matcher_line::line_num, ControlBase::line_num, MATCHER_MAX_TOKENS, modulePrefix, matcher_line::num_el, processDurationString(), ControlBase::ProcessModifiers(), time_arg, TWEAK_CACHE_RESPONSES_TO_COOKIES, and val.
void CacheControlRecord::Print | ( | ) |
Reimplemented from ControlBase.
Definition at line 233 of file CacheControl.cc.
References cache_responses_to_cookies, CC_CLUSTER_CACHE_LOCAL, CC_directive_str, CC_IGNORE_CLIENT_NO_CACHE, CC_IGNORE_NO_CACHE, CC_IGNORE_SERVER_NO_CACHE, CC_INVALID, CC_NEVER_CACHE, CC_NUM_TYPES, CC_PIN_IN_CACHE, CC_REVALIDATE_AFTER, CC_STANDARD_CACHE, CC_TTL_IN_CACHE, directive, time_arg, and TWEAK_CACHE_RESPONSES_TO_COOKIES.
void CacheControlRecord::UpdateMatch | ( | CacheControlResult * | result, | |
RequestData * | rdata | |||
) |
Definition at line 407 of file CacheControl.cc.
References CacheControlResult::cache_responses_to_cookies, cache_responses_to_cookies, CC_CLUSTER_CACHE_LOCAL, CC_directive_str, CC_IGNORE_CLIENT_NO_CACHE, CC_IGNORE_NO_CACHE, CC_IGNORE_SERVER_NO_CACHE, CC_INVALID, CC_NEVER_CACHE, CC_NUM_TYPES, CC_PIN_IN_CACHE, CC_REVALIDATE_AFTER, CC_STANDARD_CACHE, CC_TTL_IN_CACHE, ControlBase::CheckForMatch(), CacheControlResult::cluster_cache_local, CacheControlResult::cluster_cache_local_line, Debug, directive, CacheControlResult::ignore_client_line, CacheControlResult::ignore_client_no_cache, CacheControlResult::ignore_server_line, CacheControlResult::ignore_server_no_cache, ink_assert, ControlBase::line_num, CacheControlResult::never_cache, CacheControlResult::never_line, CacheControlResult::pin_in_cache_for, CacheControlResult::pin_line, CacheControlResult::reval_line, CacheControlResult::revalidate_after, time_arg, CacheControlResult::ttl_in_cache, CacheControlResult::ttl_line, TWEAK_CACHE_RESPONSES_TO_COOKIES, and Warning.
Definition at line 129 of file CacheControl.h.
Referenced by Init(), Print(), and UpdateMatch().
Definition at line 127 of file CacheControl.h.
Referenced by Init(), Print(), and UpdateMatch().
Definition at line 128 of file CacheControl.h.
Referenced by Init(), Print(), and UpdateMatch().