Inheritance diagram for MimeIcon:
Collaboration diagram for MimeIcon:

Public Member Functions

 MimeIcon (const char *aName)
 
 ~MimeIcon () override
 
void setName (char const *)
 
SBuf getName () const
 
void load ()
 
LogTagsloggingTags () const override
 
void fillChecklist (ACLFilledChecklist &) const override
 configure the given checklist (to reflect the current transaction state) More...
 

Protected Member Functions

bool startCollapsingOn (const StoreEntry &, const bool doingRevalidation) const
 
bool mayInitiateCollapsing () const
 whether Squid configuration allows us to become a CF initiator More...
 
bool onCollapsingPath () const
 whether Squid configuration allows collapsing for this transaction More...
 

Private Member Functions

 MEMPROXY_CLASS (MimeIcon)
 

Private Attributes

SBuf icon_
 
char * url_
 

Detailed Description

Definition at line 42 of file mime.cc.

Constructor & Destructor Documentation

◆ MimeIcon()

MimeIcon::MimeIcon ( const char *  aName)
explicit

Definition at line 125 of file mime.cc.

References setName().

◆ ~MimeIcon()

MimeIcon::~MimeIcon ( )
override

Definition at line 131 of file mime.cc.

References url_, and xfree.

Member Function Documentation

◆ fillChecklist()

void MimeIcon::fillChecklist ( ACLFilledChecklist ) const
overridevirtual

Implements Acl::ChecklistFiller.

Definition at line 446 of file mime.cc.

References assert.

◆ getName()

SBuf MimeIcon::getName ( ) const

Definition at line 145 of file mime.cc.

References icon_.

Referenced by mimeGetIcon().

◆ load()

◆ loggingTags()

LogTags * MimeIcon::loggingTags ( ) const
inlineoverridevirtual
Returns
LogTags (if the class logs transactions) or nil (otherwise)

Implements StoreClient.

Definition at line 54 of file mime.cc.

◆ mayInitiateCollapsing()

bool StoreClient::mayInitiateCollapsing ( ) const
inlineprotectedinherited

◆ MEMPROXY_CLASS()

MimeIcon::MEMPROXY_CLASS ( MimeIcon  )
private

◆ onCollapsingPath()

◆ setName()

void MimeIcon::setName ( char const *  aString)

Definition at line 137 of file mime.cc.

References icon_, internalLocalUri(), url_, xfree, and xstrdup.

Referenced by MimeIcon().

◆ startCollapsingOn()

bool StoreClient::startCollapsingOn ( const StoreEntry e,
const bool  doingRevalidation 
) const
protectedinherited
Returns
whether the caller must collapse on the given entry Before returning true, updates common collapsing-related stats. See also: StoreEntry::hittingRequiresCollapsing().

Definition at line 66 of file store_client.cc.

References debugs, StoreEntry::hittingRequiresCollapsing(), StoreClient::loggingTags(), and StoreClient::onCollapsingPath().

Referenced by htcpSpecifier::checkHit(), ICPState::confirmAndPrepHit(), clientReplyContext::identifyFoundObject(), clientReplyContext::processExpired(), and UrnState::start().

Member Data Documentation

◆ icon_

SBuf MimeIcon::icon_
private

Definition at line 58 of file mime.cc.

Referenced by getName(), load(), and setName().

◆ url_

char* MimeIcon::url_
private

Definition at line 59 of file mime.cc.

Referenced by ~MimeIcon(), load(), and setName().


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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors