HttpStateData::ReuseDecision Class Reference
assists in making and relaying entry caching/sharing decision More...
#include <http.h>
Collaboration diagram for HttpStateData::ReuseDecision:
![Collaboration graph](classHttpStateData_1_1ReuseDecision__coll__graph.png)
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 More... | |
Public Attributes | |
Answers | answer |
the decision id More... | |
const char * | reason |
the decision reason More... | |
const StoreEntry * | entry |
entry for debugging More... | |
const Http::StatusCode | statusCode |
HTTP status for debugging. More... | |
Detailed Description
Member Enumeration Documentation
◆ Answers
Constructor & Destructor Documentation
◆ ReuseDecision()
HttpStateData::ReuseDecision::ReuseDecision | ( | const StoreEntry * | e, |
const Http::StatusCode | code | ||
) |
Member Function Documentation
◆ make()
HttpStateData::ReuseDecision::Answers HttpStateData::ReuseDecision::make | ( | const Answers | ans, |
const char * | why | ||
) |
Definition at line 2691 of file http.cc.
Referenced by HttpStateData::haveParsedReplyHeaders(), and HttpStateData::reusableReply().
Member Data Documentation
◆ answer
Answers HttpStateData::ReuseDecision::answer |
Definition at line 40 of file http.h.
Referenced by operator<<(), and HttpStateData::reusableReply().
◆ entry
const StoreEntry* HttpStateData::ReuseDecision::entry |
Definition at line 42 of file http.h.
Referenced by operator<<().
◆ reason
const char* HttpStateData::ReuseDecision::reason |
Definition at line 41 of file http.h.
Referenced by operator<<().
◆ statusCode
const Http::StatusCode HttpStateData::ReuseDecision::statusCode |
Definition at line 43 of file http.h.
Referenced by operator<<().
The documentation for this class was generated from the following files:
Introduction
- About Squid
- Why Squid?
- Squid Developers
- How to Donate
- How to Help Out
- Getting Squid
- Squid Source Packages
- Squid Deployment Case-Studies
- Squid Software Foundation
Documentation
- Quick Setup
- Configuration:
- FAQ and Wiki
- Guide Books:
- Non-English
- More...
Support
- Security Advisories
- Bugzilla Database
- Mailing lists
- Contacting us
- Commercial services
- Project Sponsors
- Squid-based products