Main Page | Class List | File List | Class Members

FormValue Class Reference

This is how data is passed in from the client has to be more complicated because of metadata associated with MIME-style attachments. More...

#include <EHS.h>

List of all members.

Public Member Functions

 FormValue (std::string &irsBody, ContentDisposition &ioContentDisposition)
 Constructor.


Public Attributes

StringMap oFormHeaders
 for MIME attachments only, normal header information like content-type -- everything except content-disposition, which is in oContentDisposition

ContentDisposition oContentDisposition
 everything in the content disposition line

std::string sBody
 the body of the value. For non-MIME-style attachments, this is the only part used.


Detailed Description

This is how data is passed in from the client has to be more complicated because of metadata associated with MIME-style attachments.

This is how data is passed in from the client has to be more complicated because of metadata associated with MIME-style attachments. Each element of a form is put into a ContentDisposition object which can be looked at in HandleRequest to see what data might have been sent in.


Constructor & Destructor Documentation

FormValue::FormValue std::string &  irsBody,
ContentDisposition ioContentDisposition
[inline]
 

Constructor.

Parameters:
irsBody  body for the form value
ioContentDisposition  content disposition type string


The documentation for this class was generated from the following file:
Generated on Sat Mar 13 09:01:50 2004 for EHS - Embedded HTTP Server library by doxygen 1.3.5