Barracuda Application Server C/C++ Reference
NO
HttpParameterIterator Struct Reference

Detailed Description

The HttpParameterIterator is used for iterating through the form elements parsed by the HttpServer object.

C++ Example:

for( ; i.hasMoreElements() ; i.nextElement())
{
if( ! strcmp(i.getName(), "visa number") )
visaNumber = i.getValue();
}

C Example: See HttpParameter.

See also
HttpRequest::getParameter HttpParameter

#include <HttpServer.h>

Public Member Functions

 HttpParameterIterator (HttpRequest *req)
 This HttpParameterIterator constructor takes a HttpRequest object as argument.
 
 HttpParameterIterator (HttpParameter *param)
 This HttpParameterIterator constructor takes a HttpParameter object as argument. More...
 
void nextElement ()
 Advance to the next element.
 
bool hasMoreElements ()
 Returns true if more elements.
 
const char * getName () const
 Return the form name.
 
const char * getValue () const
 Returns the form value.
 
HttpParameterIterator::hasMoreElements
bool hasMoreElements()
Returns true if more elements.
Definition: HttpServer.h:1159
HttpParameterIterator::nextElement
void nextElement()
Advance to the next element.
Definition: HttpServer.h:496
HttpParameterIterator::getName
const char * getName() const
Return the form name.
Definition: HttpServer.h:462
HttpParameterIterator::getValue
const char * getValue() const
Returns the form value.
Definition: HttpServer.h:464
HttpParameterIterator
The HttpParameterIterator is used for iterating through the form elements parsed by the HttpServer ob...
Definition: HttpServer.h:443