#include <FtpClient.h>
Public Types | |
using | Pointer = ErrorDetailPointer |
Public Member Functions | |
ErrorDetail (const int code) | |
SBuf | brief () const override |
SBuf | verbose (const HttpRequestPointer &) const override |
bool | equals (const ErrorDetail &other) const |
Private Member Functions | |
MEMPROXY_CLASS (Ftp::ErrorDetail) | |
Private Attributes | |
int | completionCode |
FTP reply completion code. More... | |
Detailed Description
Holds FTP server reply error code Squid needs to interpret internally FTP reply codes and respond with custom error (eg in the case of Ftp::Gateway), however still we need to log the exact FTP server error reply code as the reason of error.
Definition at line 27 of file FtpClient.h.
Member Typedef Documentation
◆ Pointer
|
inherited |
Constructor & Destructor Documentation
◆ ErrorDetail()
|
inlineexplicit |
Definition at line 31 of file FtpClient.h.
Member Function Documentation
◆ brief()
|
overridevirtual |
- Returns
- a single "token" summarizing available details suitable as an access.log field and similar output processed by programs
Implements ErrorDetail.
Definition at line 75 of file FtpClient.cc.
References ToSBuf().
◆ equals()
|
inlineinherited |
Definition at line 44 of file Detail.h.
Referenced by Error::update().
◆ MEMPROXY_CLASS()
|
private |
◆ verbose()
|
overridevirtual |
- Returns
- all available details; may be customized for the given request suitable for error pages and other output meant for human consumption
Implements ErrorDetail.
Definition at line 81 of file FtpClient.cc.
References ToSBuf().
Member Data Documentation
◆ completionCode
|
private |
Definition at line 38 of file FtpClient.h.
The documentation for this class was generated from the following files:
- src/clients/FtpClient.h
- src/clients/FtpClient.cc