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 70 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 73 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 90 of file errorpage.cc.

◆ filename

const char* ErrorDynamicPageInfo::filename

Definition at line 87 of file errorpage.cc.

Referenced by ErrorDynamicPageInfo().

◆ id

int ErrorDynamicPageInfo::id

Definition at line 76 of file errorpage.cc.

◆ 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 81 of file errorpage.cc.

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

◆ page_redirect

Http::StatusCode ErrorDynamicPageInfo::page_redirect

Definition at line 94 of file errorpage.cc.

Referenced by ErrorDynamicPageInfo().

◆ uri

const char* ErrorDynamicPageInfo::uri

Definition at line 84 of file errorpage.cc.

Referenced by ErrorDynamicPageInfo().


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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors