37 #include "BESDapRequestHandler.h" 38 #include "BESResponseHandler.h" 39 #include "BESDapNames.h" 40 #include "BESResponseNames.h" 41 #include "BESVersionInfo.h" 43 BESDapRequestHandler::BESDapRequestHandler(
const string &name )
46 add_handler( HELP_RESPONSE, BESDapRequestHandler::dap_build_help ) ;
47 add_handler( VERS_RESPONSE, BESDapRequestHandler::dap_build_version ) ;
50 BESDapRequestHandler::~BESDapRequestHandler()
62 map<string,string> attrs ;
63 attrs[
"name"] = libdap_name() ;
64 attrs[
"version"] = libdap_version() ;
65 info->begin_tag(
"module", &attrs ) ;
67 info->end_tag(
"module" ) ;
80 info->add_library( libdap_name(), libdap_version() ) ;
81 list<string> versions ;
82 versions.push_back(
"2.0" ) ;
83 versions.push_back(
"3.0" ) ;
84 versions.push_back(
"3.2" ) ;
85 info->add_service( OPENDAP_SERVICE, versions ) ;
99 strm << BESIndent::LMarg <<
"BESDapRequestHandler::dump - (" 100 << (
void *)
this <<
")" << endl ;
101 BESIndent::Indent() ;
103 BESIndent::UnIndent() ;
virtual void dump(ostream &strm) const
dumps information about this object
exception thrown if inernal error encountered
virtual void add_data_from_file(const string &key, const string &name)
add data from a file to the informational object.
informational response object
virtual BESResponseObject * get_response_object()
return the current response object
Represents a specific data type request handler.
virtual void dump(ostream &strm) const
dumps information about this object
Structure storing information used by the BES to handle the request.
Abstract base class representing a specific set of information in response to a request to the BES...