Public Member Functions | Data Fields

HttpBodyTemplate Class Reference

#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

Detailed Description

Definition at line 85 of file HttpBodyFactory.h.


Constructor & Destructor Documentation

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().


Member Function Documentation

char * HttpBodyTemplate::build_instantiated_buffer ( HttpTransact::State context,
int64_t *  length_return 
)
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 
)
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().


Field Documentation

Definition at line 99 of file HttpBodyFactory.h.

Referenced by HttpBodyTemplate(), and is_sane().


The documentation for this class was generated from the following files: