63 if (found && !response_size_limit.empty()) {
64 std::istringstream iss(response_size_limit);
68 throw BESInternalError(
"The max_response_size context value (" + response_size_limit +
") not read",
70 dmr->set_response_limit(rsl);
74 if (found && !xml_base.empty()) {
75 dmr->set_request_xml_base(xml_base);
110 strm <<
BESIndent::LMarg <<
"BESDap4ResponseHandler::dump - (" << (
void *)
this <<
")" << endl;
virtual void transmit(BESTransmitter *transmitter, BESDataHandlerInterface &dhi)
transmit the response object built by the execute command using the specified transmitter object ...
exception thrown if inernal error encountered
virtual string get_context(const string &name, bool &found)
retrieve the value of the specified context from the BES
BESDap4ResponseHandler(const string &name)
BESResponseObject * _response
handler object that knows how to create a specific response object
virtual void send_response(const string &method, BESResponseObject *obj, BESDataHandlerInterface &dhi)
static ostream & LMarg(ostream &strm)
Represents an OPeNDAP DMR DAP4 data object within the BES.
virtual void execute_each(BESDataHandlerInterface &dhi)
for each container in the given data handler interface, execute the given request ...
virtual void execute(BESDataHandlerInterface &dhi)
executes the command 'get dap for def_name;'
virtual void dump(ostream &strm) const
dumps information about this object
#define DAP4DATA_RESPONSE_STR
static BESContextManager * TheManager()
static BESRequestHandlerList * TheList()
Structure storing information used by the BES to handle the request.
virtual void dump(ostream &strm) const
dumps information about this object
virtual ~BESDap4ResponseHandler()
static BESResponseHandler * Dap4ResponseBuilder(const string &name)