shibsp::CGIParser Class Reference

CGI GET/POST parameter parsing. More...

#include <shibsp/util/CGIParser.h>

List of all members.

Public Types

typedef std::multimap
< std::string, char * >
::const_iterator 
walker
 Alias for multimap iterator.

Public Member Functions

 CGIParser (const xmltooling::HTTPRequest &request, bool queryOnly=false)
 Constructor.
std::pair< walker, walkergetParameters (const char *name) const
 Returns a pair of bounded iterators around the values of a parameter.


Detailed Description

CGI GET/POST parameter parsing.

Member Typedef Documentation

typedef std::multimap<std::string,char*>::const_iterator shibsp::CGIParser::walker

Alias for multimap iterator.


Constructor & Destructor Documentation

shibsp::CGIParser::CGIParser ( const xmltooling::HTTPRequest &  request,
bool  queryOnly = false 
)

Constructor.

Parameters:
request HTTP request interface
queryOnly true iff the POST body should be ignored


Member Function Documentation

std::pair<walker,walker> shibsp::CGIParser::getParameters ( const char *  name  )  const

Returns a pair of bounded iterators around the values of a parameter.

Parameters:
name name of parameter, or nullptr to return all parameters
Returns:
a pair of multimap iterators surrounding the matching value(s)


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

Generated on Tue Jun 18 02:31:23 2013 for shibboleth-2.5.2 by  doxygen 1.5.6