#include <HttpBodyFactory.h>

| Public Member Functions | |
| HttpBodyFactory () | |
| ~HttpBodyFactory () | |
| char * | fabricate_with_old_api (const char *type, HttpTransact::State *context, int64_t max_buffer_length, int64_t *resulting_buffer_length, char *content_language_out_buf, size_t content_language_buf_size, char *content_type_out_buf, size_t content_type_buf_size, const char *format, va_list ap) | 
| char * | fabricate_with_old_api_build_va (const char *type, HttpTransact::State *context, int64_t max_buffer_length, int64_t *resulting_buffer_length, char *content_language_out_buf, size_t content_language_buf_size, char *content_type_out_buf, size_t content_type_buf_size, const char *format,...) | 
| void | dump_template_tables (FILE *fp=stderr) | 
| void | reconfigure () | 
Definition at line 150 of file HttpBodyFactory.h.
| HttpBodyFactory::HttpBodyFactory | ( | ) | 
Definition at line 343 of file HttpBodyFactory.cc.
References config_callback(), Debug, HTTP_RegisterConfigUpdateFunc, ink_mutex_init(), REC_ERR_OKAY, reconfigure(), and Warning.
| HttpBodyFactory::~HttpBodyFactory | ( | ) | 
Definition at line 391 of file HttpBodyFactory.cc.
| void HttpBodyFactory::dump_template_tables | ( | FILE * | fp = stderr | ) | 
Definition at line 195 of file HttpBodyFactory.cc.
References HttpBodyTemplate::byte_count, HttpBodySetRawData::content_charset, HttpBodySetRawData::content_language, RawHashTable::firstBinding(), RawHashTable::getKeyFromBinding(), RawHashTable::getValueFromBinding(), ink_assert, HttpBodySet::is_sane(), RawHashTable::nextBinding(), HttpBodySetRawData::set_name, and HttpBodySetRawData::table_of_pages.
| char * HttpBodyFactory::fabricate_with_old_api | ( | const char * | type, | |
| HttpTransact::State * | context, | |||
| int64_t | max_buffer_length, | |||
| int64_t * | resulting_buffer_length, | |||
| char * | content_language_out_buf, | |||
| size_t | content_language_buf_size, | |||
| char * | content_type_out_buf, | |||
| size_t | content_type_buf_size, | |||
| const char * | format, | |||
| va_list | ap | |||
| ) | 
Definition at line 61 of file HttpBodyFactory.cc.
References HttpTransact::State::arena, ats_free_null(), ats_malloc(), Log::error(), HttpTransact::State::hdr_info, ink_bvsprintf(), ink_strlcpy(), MIME_FIELD_ACCEPT_CHARSET, MIME_FIELD_ACCEPT_LANGUAGE, MIME_LEN_ACCEPT_CHARSET, MIME_LEN_ACCEPT_LANGUAGE, Arena::str_free(), URL::string_get(), and URL::valid().
Referenced by HttpTransact::build_error_response(), and fabricate_with_old_api_build_va().
| char* HttpBodyFactory::fabricate_with_old_api_build_va | ( | const char * | type, | |
| HttpTransact::State * | context, | |||
| int64_t | max_buffer_length, | |||
| int64_t * | resulting_buffer_length, | |||
| char * | content_language_out_buf, | |||
| size_t | content_language_buf_size, | |||
| char * | content_type_out_buf, | |||
| size_t | content_type_buf_size, | |||
| const char * | format, | |||
| ... | ||||
| ) |  [inline] | 
Definition at line 167 of file HttpBodyFactory.h.
References fabricate_with_old_api().
Referenced by HttpTransact::build_redirect_response().
| void HttpBodyFactory::reconfigure | ( | ) | 
Definition at line 260 of file HttpBodyFactory.cc.
References ats_free(), Debug, Layout::get(), REC_ERR_OKAY, RecGetRecordInt(), RecGetRecordString_Xmalloc(), Layout::relative(), and Warning.
Referenced by config_callback(), and HttpBodyFactory().
 1.7.1
 1.7.1