an error page created from admin-configurable metadata (e.g. deny_info) More...

Collaboration diagram for ErrorDynamicPageInfo:

Public Member Functions

 ErrorDynamicPageInfo (const int anId, const char *aName, const SBuf &aCfgLocation)
 
 ~ErrorDynamicPageInfo ()
 

Public Attributes

int id
 error_text[] index for response body (unused in redirection responses) More...
 
char * page_name
 
const char * uri
 admin-configured HTTP Location header value for redirection responses More...
 
const char * filename
 admin-configured name for the error page template (custom or standard) More...
 
SBuf cfgLocation
 deny_info directive position in squid.conf (for reporting) More...
 
Http::StatusCode page_redirect
 admin-configured HTTP status code More...
 

Private Member Functions

 ErrorDynamicPageInfo (ErrorDynamicPageInfo &&)=delete
 

Detailed Description

Definition at line 68 of file errorpage.cc.

Constructor & Destructor Documentation

◆ ErrorDynamicPageInfo() [1/2]

ErrorDynamicPageInfo::ErrorDynamicPageInfo ( const int  anId,
const char *  aName,
const SBuf aCfgLocation 
)

◆ ~ErrorDynamicPageInfo()

ErrorDynamicPageInfo::~ErrorDynamicPageInfo ( )
inline

Definition at line 71 of file errorpage.cc.

References page_name, and xfree.

◆ ErrorDynamicPageInfo() [2/2]

ErrorDynamicPageInfo::ErrorDynamicPageInfo ( ErrorDynamicPageInfo &&  )
privatedelete

Member Data Documentation

◆ cfgLocation

SBuf ErrorDynamicPageInfo::cfgLocation

Definition at line 88 of file errorpage.cc.

Referenced by errorInitialize().

◆ filename

const char* ErrorDynamicPageInfo::filename

Definition at line 85 of file errorpage.cc.

Referenced by ErrorDynamicPageInfo(), and errorInitialize().

◆ id

int ErrorDynamicPageInfo::id

Definition at line 74 of file errorpage.cc.

Referenced by errorInitialize(), and errorReservePageId().

◆ page_name

char* ErrorDynamicPageInfo::page_name

Primary deny_info parameter:

  • May start with an HTTP status code.
  • Either a well-known error page name, a filename, or a redirect URL.

Definition at line 79 of file errorpage.cc.

Referenced by ErrorDynamicPageInfo(), errorInitialize(), errorPageName(), and ~ErrorDynamicPageInfo().

◆ page_redirect

Http::StatusCode ErrorDynamicPageInfo::page_redirect

Definition at line 92 of file errorpage.cc.

Referenced by ErrorDynamicPageInfo().

◆ uri

const char* ErrorDynamicPageInfo::uri

Definition at line 82 of file errorpage.cc.

Referenced by ErrorDynamicPageInfo(), and errorInitialize().


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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors