HttpStateData::ReuseDecision Class Reference

assists in making and relaying entry caching/sharing decision More...

#include <http.h>

Collaboration diagram for HttpStateData::ReuseDecision:

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 StoreEntryentry
 entry for debugging More...
 
const Http::StatusCode statusCode
 HTTP status for debugging. More...
 

Detailed Description

Definition at line 28 of file http.h.

Member Enumeration Documentation

Enumerator
reuseNot 
cachePositively 
cacheNegatively 
doNotCacheButShare 

Definition at line 31 of file http.h.

Constructor & Destructor Documentation

HttpStateData::ReuseDecision::ReuseDecision ( const StoreEntry e,
const Http::StatusCode  code 
)

Definition at line 2452 of file http.cc.

Member Function Documentation

HttpStateData::ReuseDecision::Answers HttpStateData::ReuseDecision::make ( const Answers  ans,
const char *  why 
)

Definition at line 2456 of file http.cc.

Referenced by HttpStateData::reusableReply().

Member Data Documentation

Answers HttpStateData::ReuseDecision::answer

Definition at line 37 of file http.h.

Referenced by operator<<(), and HttpStateData::reusableReply().

const StoreEntry* HttpStateData::ReuseDecision::entry

Definition at line 39 of file http.h.

Referenced by operator<<().

const char* HttpStateData::ReuseDecision::reason

Definition at line 38 of file http.h.

Referenced by operator<<().

const Http::StatusCode HttpStateData::ReuseDecision::statusCode

Definition at line 40 of file http.h.

Referenced by operator<<().


The documentation for this class was generated from the following files:

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors