#include <HttpBodyFactory.h>
Inherits HttpBodySetRawData.
Public Member Functions | |
HttpBodySet () | |
~HttpBodySet () | |
int | init (char *set_name, char *dir) |
bool | is_sane () |
HttpBodyTemplate * | get_template_by_name (const char *name) |
void | set_template_by_name (const char *name, HttpBodyTemplate *t) |
Definition at line 119 of file HttpBodyFactory.h.
HttpBodySet::HttpBodySet | ( | ) |
Definition at line 744 of file HttpBodyFactory.cc.
References HttpBodySetRawData::content_charset, HttpBodySetRawData::content_language, HttpBodySetRawData::magic, and HttpBodySetRawData::table_of_pages.
HttpBodySet::~HttpBodySet | ( | ) |
Definition at line 756 of file HttpBodyFactory.cc.
References ats_free(), HttpBodySetRawData::content_charset, HttpBodySetRawData::content_language, and HttpBodySetRawData::table_of_pages.
HttpBodyTemplate * HttpBodySet::get_template_by_name | ( | const char * | name | ) |
Definition at line 878 of file HttpBodyFactory.cc.
References HttpBodyTemplate::byte_count, Debug, RawHashTable::getValue(), HttpBodyTemplate::is_sane(), HttpBodySetRawData::table_of_pages, and HttpBodyTemplate::template_pathname.
int HttpBodySet::init | ( | char * | set_name, | |
char * | dir | |||
) |
Definition at line 767 of file HttpBodyFactory.cc.
References _O_ATTRIB_NORMAL, ats_free(), ats_strdup, HttpBodySetRawData::content_charset, HttpBodySetRawData::content_language, ink_file_fd_readline(), ink_filepath_make(), ParseRules::is_http_field_name(), ParseRules::is_wslfcr(), memcpy, RawHashTable_KeyType_String, HttpBodySetRawData::table_of_pages, and Warning.
bool HttpBodySet::is_sane | ( | ) | [inline] |
Definition at line 126 of file HttpBodyFactory.h.
References HTTP_BODY_SET_MAGIC, and HttpBodySetRawData::magic.
Referenced by HttpBodyFactory::dump_template_tables().
void HttpBodySet::set_template_by_name | ( | const char * | name, | |
HttpBodyTemplate * | t | |||
) |
Definition at line 901 of file HttpBodyFactory.cc.
References RawHashTable::setValue(), and HttpBodySetRawData::table_of_pages.