35 #include <DODSFilter.h>
42 #include <mime_util.h>
45 #include <InternalErr.h>
60 BESDEBUG(
"www",
"converting dds to www dds" << endl);
65 DAS *das =
dynamic_cast<BESWWW*
>(obj)->get_das()->get_das();
66 wwwdds->transfer_attributes( das );
68 BESDEBUG(
"www",
"writing form" << endl);
80 netcdf3_file_response, netcdf4_file_response);
82 BESDEBUG(
"www",
"done transmitting form" << endl);
86 catch (InternalErr &e) {
87 string err =
"Failed to write html form: " + e.get_error_message();
88 throw BESDapError(err,
true, e.get_error_code(), __FILE__, __LINE__);
91 string err =
"Failed to write html form: " + e.get_error_message();
92 throw BESDapError(err,
false, e.get_error_code(), __FILE__, __LINE__);
95 string err =
"Failed to write html form: Unknown exception caught";
static void send_http_form(BESResponseObject *obj, BESDataHandlerInterface &dhi)
exception thrown if an internal error is found and is fatal to the BES
#define OPENDAP_SERVICE
macros representing the default response objects handled
ostream & get_output_stream()
static void send_basic_form(BESResponseObject *obj, BESDataHandlerInterface &dhi)
The service registry allows modules to register services with the BES that they provide.
BESDDSResponse * get_dds()
static BESServiceRegistry * TheRegistry()
error object created from libdap error objects and can handle those errors
container for a DAS and DDS needed to write out the usage information for a dataset.
Structure storing information used by the BES to handle the request.
map< string, string > data
the map of string data that will be required for the current request.
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 bool service_available(const string &name, const string &cmd="", const string &format="")
Determines if a service and, optionally, a command and a return format, is available.
Abstract base class representing a specific set of information in response to a request to the BES...