33#ifndef I_BESDapResponse
34#define I_BESDapResponse 1
36#include "BESResponseObject.h"
37#include "BESDataHandlerInterface.h"
41class BESDapResponse:
public BESResponseObject {
43 std::string d_dap_client_protocol;
44 bool d_explicit_containers;
46 std::string d_request_xml_base;
54 BESResponseObject(), d_dap_client_protocol(
"2.0"), d_explicit_containers(
true), d_request_xml_base(
"")
59 virtual ~BESDapResponse()
66 return d_dap_client_protocol;
72 return d_explicit_containers;
78 return d_request_xml_base;
85 virtual void set_container(
const std::string &cn) = 0;
86 virtual void clear_container() = 0;
88 virtual void dump(std::ostream &strm)
const;
void read_contexts()
Extract the dap protocol from the setContext information This method checks four contexts: dap_explic...
virtual void set_dap4_function(BESDataHandlerInterface &dhi)
set the constraint depending on the context
virtual void set_dap4_constraint(BESDataHandlerInterface &dhi)
set the constraint depending on the context
virtual void set_constraint(BESDataHandlerInterface &dhi)
set the constraint depending on the context
std::string get_dap_client_protocol() const
Return the dap version string sent by the client (e.g., the OLFS)
virtual void dump(std::ostream &strm) const
dumps information about this object
bool get_explicit_containers() const
Should containers be explicitly represented in the DD* responses?
bool is_dap2()
See get_explicit_containers()
std::string get_request_xml_base() const
Return the xml:base URL for this request.
Structure storing information used by the BES to handle the request.