#include <HttpBodyFactory.h>
| Public Member Functions | |
| HttpBodyTemplate () | |
| ~HttpBodyTemplate () | |
| void | reset () | 
| int | load_from_file (char *dir, char *file) | 
| bool | is_sane () | 
| char * | build_instantiated_buffer (HttpTransact::State *context, int64_t *length_return) | 
| Data Fields | |
| unsigned int | magic | 
| int64_t | byte_count | 
| char * | template_buffer | 
| char * | template_pathname | 
Definition at line 85 of file HttpBodyFactory.h.
| HttpBodyTemplate::HttpBodyTemplate | ( | ) | 
Definition at line 912 of file HttpBodyFactory.cc.
References byte_count, magic, template_buffer, and template_pathname.
| HttpBodyTemplate::~HttpBodyTemplate | ( | ) | 
Definition at line 921 of file HttpBodyFactory.cc.
References reset().
| char * HttpBodyTemplate::build_instantiated_buffer | ( | HttpTransact::State * | context, | |
| int64_t * | length_return | |||
| ) | 
Definition at line 1004 of file HttpBodyFactory.cc.
References Log::access(), Debug, resolve_logfield_string(), HttpTransact::State::state_machine, and template_buffer.
| bool HttpBodyTemplate::is_sane | ( | ) |  [inline] | 
Definition at line 93 of file HttpBodyFactory.h.
References HTTP_BODY_TEMPLATE_MAGIC, and magic.
Referenced by HttpBodySet::get_template_by_name().
| int HttpBodyTemplate::load_from_file | ( | char * | dir, | |
| char * | file | |||
| ) | 
Definition at line 938 of file HttpBodyFactory.cc.
References _O_ATTRIB_NORMAL, ats_free(), ats_malloc(), ats_strdup, byte_count, Debug, reset(), template_buffer, template_pathname, and Warning.
| void HttpBodyTemplate::reset | ( | ) | 
Definition at line 928 of file HttpBodyFactory.cc.
References ats_free(), byte_count, template_buffer, and template_pathname.
Referenced by load_from_file(), and ~HttpBodyTemplate().
| int64_t HttpBodyTemplate::byte_count | 
Definition at line 100 of file HttpBodyFactory.h.
Referenced by HttpBodyFactory::dump_template_tables(), HttpBodySet::get_template_by_name(), HttpBodyTemplate(), load_from_file(), and reset().
| unsigned int HttpBodyTemplate::magic | 
Definition at line 99 of file HttpBodyFactory.h.
Referenced by HttpBodyTemplate(), and is_sane().
Definition at line 101 of file HttpBodyFactory.h.
Referenced by build_instantiated_buffer(), HttpBodyTemplate(), load_from_file(), and reset().
Definition at line 102 of file HttpBodyFactory.h.
Referenced by HttpBodySet::get_template_by_name(), HttpBodyTemplate(), load_from_file(), and reset().
 1.7.1
 1.7.1