29#include "W10nJsonRequestHandler.h"
30#include <BESResponseHandler.h>
31#include <BESResponseNames.h>
32#include <BESVersionInfo.h>
33#include <BESDataNames.h>
34#include <BESDataNames.h>
35#include <TheBESKeys.h>
52 : BESRequestHandler( name )
84 string key =
"W10n.Reference" ;
88 ref =
"https://docs.opendap.org/index.php/BES_-_Modules_-_w10n_JSON" ;
89 map<string, string, std::less<>> attrs ;
90 attrs[
"name"] = MODULE_NAME ;
91 attrs[
"version"] = MODULE_VERSION ;
93 attrs[
"name"] = PACKAGE_NAME;
94 attrs[
"version"] = PACKAGE_VERSION;
96 attrs[
"reference"] = ref ;
97 info->begin_tag(
"module", &attrs ) ;
98 info->end_tag(
"module" ) ;
119 info->add_module(PACKAGE_NAME, PACKAGE_VERSION);
121 info->add_module(MODULE_NAME, MODULE_VERSION);
135 strm << BESIndent::LMarg <<
"W10nJsonRequestHandler::dump - ("
136 << (
void *)
this <<
")" << endl ;
137 BESIndent::Indent() ;
139 BESIndent::UnIndent() ;
Structure storing information used by the BES to handle the request.
informational response object
exception thrown if internal error encountered
virtual bool add_method(const std::string &name, p_request_handler_method method)
add a handler method to the request handler that knows how to fill in a specific response object
virtual void dump(std::ostream &strm) const
dumps information about this object
virtual BESResponseObject * get_response_object()
return the current response object
Abstract base class representing a specific set of information in response to a request to the BES.
void get_value(const std::string &s, std::string &val, bool &found)
Retrieve the value of a given key, if set.
static TheBESKeys * TheKeys()
Access to the singleton.
virtual ~W10nJsonRequestHandler(void)
Any cleanup that needs to take place.
static bool build_help(BESDataHandlerInterface &dhi)
adds help information for FileOut NetCDF to a help request
virtual void dump(std::ostream &strm) const
dumps information about this object
static bool build_version(BESDataHandlerInterface &dhi)
add version information to a version response
W10nJsonRequestHandler(const std::string &name)
Constructor for FileOut NetCDF module.