|
OPeNDAP Hyrax Back End Server (BES)
Updated for version 3.8.3
|
response handler that builds an OPeNDAP Dap4 data response More...
#include <BESDap4ResponseHandler.h>


Public Member Functions | |
| BESDap4ResponseHandler (const string &name) | |
| virtual void | dump (ostream &strm) const |
| dumps information about this object More... | |
| virtual void | execute (BESDataHandlerInterface &dhi) |
| executes the command 'get dap for def_name;' More... | |
| virtual string | get_name () const |
| return the name of this response object More... | |
| virtual BESResponseObject * | get_response_object () |
| return the current response object More... | |
| virtual BESResponseObject * | set_response_object (BESResponseObject *o) |
| replaces the current response object with the specified one, returning the current response object More... | |
| virtual void | transmit (BESTransmitter *transmitter, BESDataHandlerInterface &dhi) |
| transmit the response object built by the execute command using the specified transmitter object More... | |
| virtual | ~BESDap4ResponseHandler () |
Static Public Member Functions | |
| static BESResponseHandler * | Dap4ResponseBuilder (const string &name) |
Protected Attributes | |
| BESResponseObject * | _response |
| string | _response_name |
response handler that builds an OPeNDAP Dap4 data response
Definition at line 37 of file BESDap4ResponseHandler.h.
| BESDap4ResponseHandler::BESDap4ResponseHandler | ( | const string & | name | ) |
Definition at line 36 of file BESDap4ResponseHandler.cc.
Referenced by Dap4ResponseBuilder().
|
virtual |
Definition at line 40 of file BESDap4ResponseHandler.cc.
|
static |
Definition at line 117 of file BESDap4ResponseHandler.cc.
References BESDap4ResponseHandler().
Referenced by BESDapModule::initialize().

|
virtual |
dumps information about this object
Displays the pointer value of this instance
| strm | C++ i/o stream to dump the information to |
Reimplemented from BESResponseHandler.
Definition at line 108 of file BESDap4ResponseHandler.cc.
References BESResponseHandler::dump(), BESIndent::Indent(), BESIndent::LMarg(), and BESIndent::UnIndent().

|
virtual |
executes the command 'get dap for def_name;'
| dhi | structure that holds request and response information |
Implements BESResponseHandler.
Definition at line 51 of file BESDap4ResponseHandler.cc.
References BESResponseHandler::_response, BESDataHandlerInterface::action_name, DAP4DATA_RESPONSE_STR, BESRequestHandlerList::execute_each(), BESContextManager::get_context(), BESRequestHandlerList::TheList(), and BESContextManager::TheManager().

|
inlinevirtualinherited |
return the name of this response object
This name is used to determine which response handler can handle a requested response, such as das, dds, ddx, tab, info, version, help, etc...
Definition at line 156 of file BESResponseHandler.h.
References BESResponseHandler::_response_name.
|
virtualinherited |
return the current response object
Returns the current response object, null if one has not yet been created. The response handler maintains ownership of the response object.
Definition at line 53 of file BESResponseHandler.cc.
References BESResponseHandler::_response.
Referenced by FONgRequestHandler::build_help(), FoJsonRequestHandler::build_help(), W10nJsonRequestHandler::build_help(), FONcRequestHandler::build_help(), FONgRequestHandler::build_version(), FoJsonRequestHandler::build_version(), W10nJsonRequestHandler::build_version(), FONcRequestHandler::build_version(), CSVRequestHandler::csv_build_das(), CSVRequestHandler::csv_build_data(), CSVRequestHandler::csv_build_dds(), CSVRequestHandler::csv_build_dmr(), CSVRequestHandler::csv_build_help(), CSVRequestHandler::csv_build_vers(), DapRequestHandler::dap_build_dap4data(), DapRequestHandler::dap_build_das(), DapRequestHandler::dap_build_data(), DapRequestHandler::dap_build_dds(), DapRequestHandler::dap_build_dmr(), BESXDRequestHandler::dap_build_help(), BESUsageRequestHandler::dap_build_help(), BESDapRequestHandler::dap_build_help(), DapRequestHandler::dap_build_help(), DapRequestHandler::dap_build_vers(), BESXDRequestHandler::dap_build_version(), BESAsciiRequestHandler::dap_build_version(), BESUsageRequestHandler::dap_build_version(), BESDapRequestHandler::dap_build_version(), BESWWWRequestHandler::dap_build_version(), FFRequestHandler::ff_build_das(), FFRequestHandler::ff_build_data(), FFRequestHandler::ff_build_dds(), FFRequestHandler::ff_build_dmr(), FFRequestHandler::ff_build_help(), FFRequestHandler::ff_build_version(), FitsRequestHandler::fits_build_das(), FitsRequestHandler::fits_build_data(), FitsRequestHandler::fits_build_dds(), FitsRequestHandler::fits_build_dmr(), FitsRequestHandler::fits_build_help(), FitsRequestHandler::fits_build_vers(), GatewayRequestHandler::gateway_build_help(), GatewayRequestHandler::gateway_build_vers(), GDALRequestHandler::gdal_build_das(), GDALRequestHandler::gdal_build_data(), GDALRequestHandler::gdal_build_dds(), GDALRequestHandler::gdal_build_dmr(), GDALRequestHandler::gdal_build_help(), GDALRequestHandler::gdal_build_version(), BESDataHandlerInterface::get_response_object(), HDF4RequestHandler::hdf4_build_das(), HDF4RequestHandler::hdf4_build_data(), HDF4RequestHandler::hdf4_build_data_with_IDs(), HDF4RequestHandler::hdf4_build_dds(), HDF4RequestHandler::hdf4_build_help(), HDF4RequestHandler::hdf4_build_version(), HDF5RequestHandler::hdf5_build_das(), HDF5RequestHandler::hdf5_build_data(), HDF5RequestHandler::hdf5_build_data_with_IDs(), HDF5RequestHandler::hdf5_build_dds(), HDF5RequestHandler::hdf5_build_help(), HDF5RequestHandler::hdf5_build_version(), NCRequestHandler::nc_build_das(), NCRequestHandler::nc_build_data(), NCRequestHandler::nc_build_dds(), NCRequestHandler::nc_build_dmr(), NCRequestHandler::nc_build_help(), NCRequestHandler::nc_build_version(), ncml_module::NCMLRequestHandler::ncml_build_das(), ncml_module::NCMLRequestHandler::ncml_build_data(), ncml_module::NCMLRequestHandler::ncml_build_dds(), ncml_module::NCMLRequestHandler::ncml_build_dmr(), ncml_module::NCMLRequestHandler::ncml_build_help(), and ncml_module::NCMLRequestHandler::ncml_build_vers().
|
virtualinherited |
replaces the current response object with the specified one, returning the current response object
This method is used to replace the response object with a new one, for example if during aggregation a new response object is built from the current response object.
The caller of set_response_object now owns the returned response object. The new response object is now owned by the response object.
| o | new response object used to replace the current one |
Definition at line 59 of file BESResponseHandler.cc.
References BESResponseHandler::_response.
Referenced by agg_util::DDSLoader::loadInto().
|
virtual |
transmit the response object built by the execute command using the specified transmitter object
If a response object was built then transmit it using the send_dmr method on the transmitter object.
| transmitter | object that knows how to transmit specific basic types |
| dhi | structure that holds the request and response information |
Implements BESResponseHandler.
Definition at line 95 of file BESDap4ResponseHandler.cc.
References BESResponseHandler::_response, DAP4DATA_SERVICE, and BESTransmitter::send_response().

|
protectedinherited |
Definition at line 85 of file BESResponseHandler.h.
Referenced by BESResponseHandler::dump(), execute(), BESStreamResponseHandler::execute(), BESXDResponseHandler::execute(), ShowPathInfoResponseHandler::execute(), BESServicesResponseHandler::execute(), BESProcIdResponseHandler::execute(), BESUsageResponseHandler::execute(), BESWWWResponseHandler::execute(), BESConfigResponseHandler::execute(), BESShowDefsResponseHandler::execute(), BESDMRResponseHandler::execute(), BESStatusResponseHandler::execute(), BESDDSResponseHandler::execute(), BESVersionResponseHandler::execute(), BESDataResponseHandler::execute(), BESDASResponseHandler::execute(), BESDelContainerResponseHandler::execute(), BESShowContextResponseHandler::execute(), BESDataDDXResponseHandler::execute(), BESDelContainersResponseHandler::execute(), BESShowContainersResponseHandler::execute(), BESHelpResponseHandler::execute(), BESCatalogResponseHandler::execute(), BESSetContextResponseHandler::execute(), BESDelDefResponseHandler::execute(), BESDelDefsResponseHandler::execute(), BESDDXResponseHandler::execute(), BESSetContainerResponseHandler::execute(), BESDefineResponseHandler::execute(), BESResponseHandler::get_response_object(), BESResponseHandler::set_response_object(), transmit(), BESXDResponseHandler::transmit(), ShowPathInfoResponseHandler::transmit(), BESProcIdResponseHandler::transmit(), BESWWWResponseHandler::transmit(), BESServicesResponseHandler::transmit(), BESUsageResponseHandler::transmit(), BESConfigResponseHandler::transmit(), BESDMRResponseHandler::transmit(), BESStatusResponseHandler::transmit(), BESDDSResponseHandler::transmit(), BESShowDefsResponseHandler::transmit(), BESDASResponseHandler::transmit(), BESVersionResponseHandler::transmit(), BESDataResponseHandler::transmit(), BESDelContainerResponseHandler::transmit(), BESShowContextResponseHandler::transmit(), BESHelpResponseHandler::transmit(), BESShowContainersResponseHandler::transmit(), BESDataDDXResponseHandler::transmit(), BESCatalogResponseHandler::transmit(), BESDelContainersResponseHandler::transmit(), BESSetContextResponseHandler::transmit(), BESDDXResponseHandler::transmit(), BESDelDefsResponseHandler::transmit(), BESDelDefResponseHandler::transmit(), BESSetContainerResponseHandler::transmit(), BESDefineResponseHandler::transmit(), and BESResponseHandler::~BESResponseHandler().
|
protectedinherited |
Definition at line 84 of file BESResponseHandler.h.
Referenced by BESResponseHandler::dump(), BESXDResponseHandler::execute(), BESUsageResponseHandler::execute(), BESWWWResponseHandler::execute(), BESDataDDXResponseHandler::execute(), BESDDXResponseHandler::execute(), and BESResponseHandler::get_name().