an error page created from admin-configurable metadata (e.g. deny_info) More...
![Collaboration graph](classErrorDynamicPageInfo__coll__graph.png)
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 72 of file errorpage.cc.
Constructor & Destructor Documentation
◆ ErrorDynamicPageInfo() [1/2]
ErrorDynamicPageInfo::ErrorDynamicPageInfo | ( | const int | anId, |
const char * | aName, | ||
const SBuf & | aCfgLocation | ||
) |
Definition at line 567 of file errorpage.cc.
References assert, DBG_CRITICAL, debugs, filename, page_name, page_redirect, Http::scNone, self_destruct(), uri, and xisdigit.
◆ ~ErrorDynamicPageInfo()
|
inline |
Definition at line 75 of file errorpage.cc.
◆ ErrorDynamicPageInfo() [2/2]
|
privatedelete |
Member Data Documentation
◆ cfgLocation
SBuf ErrorDynamicPageInfo::cfgLocation |
Definition at line 92 of file errorpage.cc.
Referenced by errorInitialize().
◆ filename
const char* ErrorDynamicPageInfo::filename |
Definition at line 89 of file errorpage.cc.
Referenced by ErrorDynamicPageInfo(), and errorInitialize().
◆ id
int ErrorDynamicPageInfo::id |
Definition at line 78 of file errorpage.cc.
Referenced by errorInitialize().
◆ 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 83 of file errorpage.cc.
Referenced by ErrorDynamicPageInfo(), errorInitialize(), and ~ErrorDynamicPageInfo().
◆ page_redirect
Http::StatusCode ErrorDynamicPageInfo::page_redirect |
Definition at line 96 of file errorpage.cc.
Referenced by ErrorDynamicPageInfo().
◆ uri
const char* ErrorDynamicPageInfo::uri |
Definition at line 86 of file errorpage.cc.
Referenced by ErrorDynamicPageInfo(), and errorInitialize().
The documentation for this class was generated from the following file:
- src/errorpage.cc
Introduction
- About Squid
- Why Squid?
- Squid Developers
- How to Donate
- How to Help Out
- Getting Squid
- Squid Source Packages
- Squid Deployment Case-Studies
- Squid Software Foundation
Documentation
- Quick Setup
- Configuration:
- FAQ and Wiki
- Guide Books:
- Non-English
- More...
Support
- Security Advisories
- Bugzilla Database
- Mailing lists
- Contacting us
- Commercial services
- Project Sponsors
- Squid-based products