69 BESDEBUG(
"dap",
"Entering BESDDXResponseHandler::execute" << endl ) ;
75 DDS *dds =
new DDS( NULL,
"virtual" ) ;
82 BESDEBUG(
"bes",
"about to set dap version to: "
84 BESDEBUG(
"bes",
"about to set xml:base to: "
99 if (dds->get_keywords().has_keyword(
"dap")) {
100 BESDEBUG(
"version",
"Has keyword 'dap', setting version to: " << dds->get_keywords().get_keyword_value(
"dap") << endl);
101 dds->set_dap_version(dds->get_keywords().get_keyword_value(
"dap"));
108 BESDEBUG(
"version",
"Has no clue about dap version, using default." << endl);
118 BESDEBUG(
"dap",
"Leaving BESDDXResponseHandler::execute" << endl ) ;
153 << (
void *)
this <<
")" << endl ;
string get_dap_client_protocol() const
Return the dap version string sent by the client (e.g., the OLFS)
string get_constraint() const
retrieve the constraint expression for this container
virtual void transmit(BESTransmitter *transmitter, BESDataHandlerInterface &dhi)
transmit the response object built by the execute command
Represents an OPeNDAP DDS DAP2 data object within the BES.
static BESResponseHandler * DDXResponseBuilder(const string &name)
BESResponseObject * _response
BESDDXResponseHandler(const string &name)
handler object that knows how to create a specific response object
virtual void dump(ostream &strm) const
dumps information about this object
virtual void send_response(const string &method, BESResponseObject *obj, BESDataHandlerInterface &dhi)
static ostream & LMarg(ostream &strm)
virtual void execute_each(BESDataHandlerInterface &dhi)
for each container in the given data handler interface, execute the given request ...
void set_constraint(const string &s)
set the constraint for this container
string get_request_xml_base() const
Return the xml:base URL for this request.
virtual void dump(ostream &strm) const
dumps information about this object
static BESRequestHandlerList * TheList()
Structure storing information used by the BES to handle the request.
virtual void execute(BESDataHandlerInterface &dhi)
executes the command 'get ddx for def_name;'
void first_container()
set the container pointer to the first container in the containers list
#define BESDEBUG(x, y)
macro used to send debug information to the debug stream
virtual ~BESDDXResponseHandler(void)
string action
the response object requested, e.g.
BESContainer * container
pointer to current container in this interface