proxygen
|
#include <HTTPErrorPage.h>
Public Member Functions | |
HTTPStaticErrorPage (std::unique_ptr< folly::IOBuf > content, const std::string &contentType="text/html; charset=utf-8") | |
Page | generate (uint64_t requestID, unsigned httpStatusCode, const std::string &reason, std::unique_ptr< folly::IOBuf > body, const std::string &detailReason) const override |
![]() | |
virtual | ~HTTPErrorPage () |
Private Attributes | |
std::unique_ptr< folly::IOBuf > | content_ |
std::string | contentType_ |
Static error page generator.
Definition at line 53 of file HTTPErrorPage.h.
|
explicit |
Definition at line 18 of file HTTPErrorPage.cpp.
|
overridevirtual |
Implements proxygen::HTTPErrorPage.
Definition at line 24 of file HTTPErrorPage.cpp.
References content_, and contentType_.
|
private |
Definition at line 66 of file HTTPErrorPage.h.
Referenced by generate().
|
private |
Definition at line 67 of file HTTPErrorPage.h.
Referenced by generate().