61 map<string, string> props ;
66 string err =
"The specified command " + name
67 +
" is not a get command" ;
71 string type = props[
"type"] ;
72 if( type.empty() || type !=
"html_form" )
74 string err = name +
" command: data product must be html_form" ;
83 string err = name +
" html_form command: missing url property" ;
103 << (
void *)
this <<
")" << endl ;
BESXMLWWWGetCommand(const BESDataHandlerInterface &base_dhi)
static void GetNodeInfo(xmlNode *node, string &name, string &value, map< string, string > &props)
get the name, value if any, and any properties for the specified node
BESDataHandlerInterface _dhi
error thrown if there is a user syntax error in the request or any other user error ...
virtual void set_response()
The request has been parsed, use the command action name to set the response handler.
virtual void parse_request(xmlNode *node)
parse a get html_form command.
virtual void parse_basic_get(xmlNode *node, const string &name, const string &type, const string &value, map< string, string > &props)
static ostream & LMarg(ostream &strm)
virtual void dump(ostream &strm) const
dumps information about this object
Structure storing information used by the BES to handle the request.
map< string, string > data
the map of string data that will be required for the current request.
static BESXMLCommand * CommandBuilder(const BESDataHandlerInterface &base_dhi)
virtual void dump(ostream &strm) const
dumps information about this object