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();
}
The HttpParameterIterator is used for iterating through the form elements parsed by the HttpServer ob...
Definition: HttpServer.h:432

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.