#include <HttpHdrSc.h>

Collaboration diagram for HttpHdrSc:

Public Member Functions

bool parse (const String *str)
 
void packInto (Packable *p) const
 
void updateStats (StatHist *) const
 
HttpHdrScTargetgetMergedTarget (const char *ourtarget)
 
void setMaxAge (char const *target, int max_age)
 

Private Member Functions

 MEMPROXY_CLASS (HttpHdrSc)
 
HttpHdrScTargetfindTarget (const char *target)
 

Private Attributes

std::list< HttpHdrScTarget, PoolingAllocator< HttpHdrScTarget > > targets
 

Detailed Description

Definition at line 24 of file HttpHdrSc.h.

Member Function Documentation

◆ findTarget()

HttpHdrScTarget * HttpHdrSc::findTarget ( const char *  target)
private

Definition at line 285 of file HttpHdrSc.cc.

References targets.

Referenced by getMergedTarget(), and setMaxAge().

◆ getMergedTarget()

HttpHdrScTarget * HttpHdrSc::getMergedTarget ( const char *  ourtarget)

◆ MEMPROXY_CLASS()

HttpHdrSc::MEMPROXY_CLASS ( HttpHdrSc  )
private

◆ packInto()

void HttpHdrSc::packInto ( Packable p) const

Definition at line 228 of file HttpHdrSc.cc.

References assert, and targets.

◆ parse()

◆ setMaxAge()

void HttpHdrSc::setMaxAge ( char const *  target,
int  max_age 
)

Definition at line 238 of file HttpHdrSc.cc.

References findTarget(), HttpHdrScTarget::maxAge(), and targets.

◆ updateStats()

void HttpHdrSc::updateStats ( StatHist hist) const

Definition at line 251 of file HttpHdrSc.cc.

References targets.

Member Data Documentation

◆ targets

std::list<HttpHdrScTarget, PoolingAllocator<HttpHdrScTarget> > HttpHdrSc::targets
private

Definition at line 38 of file HttpHdrSc.h.

Referenced by findTarget(), packInto(), parse(), setMaxAge(), and updateStats().


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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors