|
Squid Web Cache master
|
assists in making and relaying entry caching/sharing decision More...
#include <http.h>
Public Types | |
| enum | Answers { reuseNot = 0 , cachePositively , cacheNegatively , doNotCacheButShare } |
Public Member Functions | |
| ReuseDecision (const StoreEntry *e, const Http::StatusCode code) | |
| Answers | make (const Answers ans, const char *why) |
| stores the corresponding decision | |
Public Attributes | |
| Answers | answer |
| the decision id | |
| const char * | reason |
| the decision reason | |
| const StoreEntry * | entry |
| entry for debugging | |
| const Http::StatusCode | statusCode |
| HTTP status for debugging. | |
| HttpStateData::ReuseDecision::ReuseDecision | ( | const StoreEntry * | e, |
| const Http::StatusCode | code | ||
| ) |
| HttpStateData::ReuseDecision::Answers HttpStateData::ReuseDecision::make | ( | const Answers | ans, |
| const char * | why | ||
| ) |
Definition at line 2666 of file http.cc.
Referenced by HttpStateData::haveParsedReplyHeaders(), and HttpStateData::reusableReply().
| Answers HttpStateData::ReuseDecision::answer |
Definition at line 40 of file http.h.
Referenced by operator<<(), and HttpStateData::reusableReply().
| const StoreEntry* HttpStateData::ReuseDecision::entry |
Definition at line 42 of file http.h.
Referenced by operator<<().
| const char* HttpStateData::ReuseDecision::reason |
Definition at line 41 of file http.h.
Referenced by operator<<().
| const Http::StatusCode HttpStateData::ReuseDecision::statusCode |
Definition at line 43 of file http.h.
Referenced by operator<<().