|
typedef std::map< std::string, p_request_handler_method >::const_iterator | Handler_citer |
|
typedef std::map< std::string, p_request_handler_method >::iterator | Handler_iter |
|
|
void | add_attributes (BESDataHandlerInterface &dhi) override |
|
virtual bool | add_handler (const std::string &name, p_request_handler_method method) |
| Backward compatibility with the older version of this class.
|
|
virtual bool | add_method (const std::string &name, p_request_handler_method method) |
| add a handler method to the request handler that knows how to fill in a specific response object
|
|
virtual void | dump (std::ostream &strm) const |
| dumps information about this object
|
|
virtual p_request_handler_method | find_method (const std::string &name) |
| find the method that can handle the specified response object type
|
|
virtual time_t | get_lmt (const std::string &name) |
| Get the Last modified time for.
|
|
virtual std::string | get_method_names () |
| return a comma separated list of response object types handled by this request handler
|
|
virtual const std::string & | get_name () const |
|
| HDF5RequestHandler (const std::string &name) |
|
virtual bool | remove_method (const std::string &name) |
| remove the specified handler method from this request handler
|
|
void | set_lrdata_mem_cache (ObjMemCache *my_lrdata_mem_cache) const |
|
void | set_srdata_mem_cache (ObjMemCache *my_srdata_mem_cache) const |
|
Definition at line 56 of file HDF5RequestHandler.h.
◆ Handler_citer
typedef std::map<std::string,p_request_handler_method>::const_iterator BESRequestHandler::Handler_citer |
|
inherited |
◆ Handler_iter
typedef std::map<std::string,p_request_handler_method>::iterator BESRequestHandler::Handler_iter |
|
inherited |
◆ HDF5RequestHandler()
HDF5RequestHandler::HDF5RequestHandler |
( |
const std::string & | name | ) |
|
|
explicit |
◆ ~HDF5RequestHandler()
HDF5RequestHandler::~HDF5RequestHandler |
( |
void | | ) |
|
|
override |
◆ add_attributes()
◆ add_handler()
virtual bool BESRequestHandler::add_handler |
( |
const std::string & | name, |
|
|
p_request_handler_method | method ) |
|
inlinevirtualinherited |
◆ add_method()
bool BESRequestHandler::add_method |
( |
const std::string & | name, |
|
|
p_request_handler_method | handler_method ) |
|
virtualinherited |
add a handler method to the request handler that knows how to fill in a specific response object
Add a handler method for a specific response object to the request handler. The handler method takes a reference to a BESDataHandlerInterface and returns bool, true if the response object is filled in successfully by the method, false otherwise.
- Parameters
-
handler_name | name of the response object this method can fill in |
handler_method | a function pointer to the method that can fill in the specified response object |
- Returns
- true if the handler is added, false if it already exists
- See also
- BESResponseObject
-
BESResponseNames
Definition at line 58 of file BESRequestHandler.cc.
◆ dump()
void BESRequestHandler::dump |
( |
std::ostream & | strm | ) |
const |
|
virtualinherited |
dumps information about this object
Displays the pointer value of this instance, the name of the request handler, and the names of all registered handler functions
- Parameters
-
strm | C++ i/o stream to dump the information to |
Implements BESObj.
Reimplemented in BESAsciiRequestHandler, BESDapRequestHandler, BESUsageRequestHandler, BESWWWRequestHandler, BESXDRequestHandler, builddmrpp::BuildDmrppRequestHandler, CSVRequestHandler, DapFunctionsRequestHandler, DapRequestHandler, dmrpp::DmrppRequestHandler, FitsRequestHandler, FoCovJsonRequestHandler, FoJsonRequestHandler, FONcRequestHandler, gateway::GatewayRequestHandler, ncml_module::NCMLRequestHandler, ngap::NgapRequestHandler, s3::S3RequestHandler, SampleRequestHandler, and W10nJsonRequestHandler.
Definition at line 164 of file BESRequestHandler.cc.
◆ find_method()
p_request_handler_method BESRequestHandler::find_method |
( |
const std::string & | name | ) |
|
|
virtualinherited |
find the method that can handle the specified response object type
Find the method that can handle the specified response object type. The response object type is the same as the handler name.
- Parameters
-
handler_name | name of the method that can fill in the response object type |
- Returns
- the method that can fill in the specified response object type
- See also
- BESResponseObject
-
BESResponseNames
Definition at line 95 of file BESRequestHandler.cc.
◆ get_add_dap4_coverage()
static bool HDF5RequestHandler::get_add_dap4_coverage |
( |
| ) |
|
|
inlinestatic |
◆ get_add_path_attrs()
static bool HDF5RequestHandler::get_add_path_attrs |
( |
| ) |
|
|
inlinestatic |
◆ get_cache_purge_level()
static float HDF5RequestHandler::get_cache_purge_level |
( |
| ) |
|
|
inlinestatic |
◆ get_check_ignore_obj()
static bool HDF5RequestHandler::get_check_ignore_obj |
( |
| ) |
|
|
inlinestatic |
◆ get_check_name_clashing()
static bool HDF5RequestHandler::get_check_name_clashing |
( |
| ) |
|
|
inlinestatic |
◆ get_common_cache_dirs()
static bool HDF5RequestHandler::get_common_cache_dirs |
( |
| ) |
|
|
inlinestatic |
◆ get_default_handle_dimension()
static bool HDF5RequestHandler::get_default_handle_dimension |
( |
| ) |
|
|
inlinestatic |
◆ get_disable_ecsmeta()
static bool HDF5RequestHandler::get_disable_ecsmeta |
( |
| ) |
|
|
inlinestatic |
◆ get_disable_structmeta()
static bool HDF5RequestHandler::get_disable_structmeta |
( |
| ) |
|
|
inlinestatic |
◆ get_disk_cache_comp_data()
static bool HDF5RequestHandler::get_disk_cache_comp_data |
( |
| ) |
|
|
inlinestatic |
◆ get_disk_cache_dir()
static string HDF5RequestHandler::get_disk_cache_dir |
( |
| ) |
|
|
inlinestatic |
◆ get_disk_cache_float_only_comp()
static bool HDF5RequestHandler::get_disk_cache_float_only_comp |
( |
| ) |
|
|
inlinestatic |
◆ get_disk_cache_size()
static unsigned long long HDF5RequestHandler::get_disk_cache_size |
( |
| ) |
|
|
inlinestatic |
◆ get_disk_cachefile_prefix()
static string HDF5RequestHandler::get_disk_cachefile_prefix |
( |
| ) |
|
|
inlinestatic |
◆ get_disk_comp_threshold()
static float HDF5RequestHandler::get_disk_comp_threshold |
( |
| ) |
|
|
inlinestatic |
◆ get_disk_var_size()
static unsigned long HDF5RequestHandler::get_disk_var_size |
( |
| ) |
|
|
inlinestatic |
◆ get_dmr_64bit_int()
static libdap::DMR * HDF5RequestHandler::get_dmr_64bit_int |
( |
| ) |
|
|
inlinestatic |
◆ get_dmr_long_int()
static bool HDF5RequestHandler::get_dmr_long_int |
( |
| ) |
|
|
inlinestatic |
◆ get_drop_long_string()
static bool HDF5RequestHandler::get_drop_long_string |
( |
| ) |
|
|
inlinestatic |
◆ get_enable_coord_attr_add_path()
static bool HDF5RequestHandler::get_enable_coord_attr_add_path |
( |
| ) |
|
|
inlinestatic |
◆ get_eos5_rm_convention_attr_path()
static bool HDF5RequestHandler::get_eos5_rm_convention_attr_path |
( |
| ) |
|
|
inlinestatic |
◆ get_escape_utf8_attr()
static bool HDF5RequestHandler::get_escape_utf8_attr |
( |
| ) |
|
|
inlinestatic |
◆ get_fillvalue_check()
static bool HDF5RequestHandler::get_fillvalue_check |
( |
| ) |
|
|
inlinestatic |
◆ get_force_flatten_coor_attr()
static bool HDF5RequestHandler::get_force_flatten_coor_attr |
( |
| ) |
|
|
inlinestatic |
◆ get_keep_var_leading_underscore()
static bool HDF5RequestHandler::get_keep_var_leading_underscore |
( |
| ) |
|
|
inlinestatic |
◆ get_latlon_disk_cache_dir()
static string HDF5RequestHandler::get_latlon_disk_cache_dir |
( |
| ) |
|
|
inlinestatic |
◆ get_latlon_disk_cache_size()
static long HDF5RequestHandler::get_latlon_disk_cache_size |
( |
| ) |
|
|
inlinestatic |
◆ get_latlon_disk_cachefile_prefix()
static string HDF5RequestHandler::get_latlon_disk_cachefile_prefix |
( |
| ) |
|
|
inlinestatic |
◆ get_lmt()
time_t BESRequestHandler::get_lmt |
( |
const std::string & | name | ) |
|
|
virtualinherited |
Get the Last modified time for.
Handlers that need a more sophisticated method should subclass.
- Parameters
-
- Returns
- The LMT
Definition at line 133 of file BESRequestHandler.cc.
◆ get_lrd_cache_dir_list()
static void HDF5RequestHandler::get_lrd_cache_dir_list |
( |
std::vector< string > & | cur_lrd_cache_dir_list | ) |
|
|
inlinestatic |
◆ get_lrd_non_cache_dir_list()
static void HDF5RequestHandler::get_lrd_non_cache_dir_list |
( |
std::vector< string > & | cur_lrd_non_cache_dir_list | ) |
|
|
inlinestatic |
◆ get_lrd_var_cache_file_list()
static void HDF5RequestHandler::get_lrd_var_cache_file_list |
( |
std::vector< string > & | cur_lrd_var_cache_file_list | ) |
|
|
inlinestatic |
◆ get_lrdata_mem_cache()
static ObjMemCache * HDF5RequestHandler::get_lrdata_mem_cache |
( |
| ) |
|
|
inlinestatic |
◆ get_lrdcache_entries()
static unsigned int HDF5RequestHandler::get_lrdcache_entries |
( |
| ) |
|
|
inlinestatic |
◆ get_mdcache_entries()
static unsigned int HDF5RequestHandler::get_mdcache_entries |
( |
| ) |
|
|
inlinestatic |
◆ get_method_names()
string BESRequestHandler::get_method_names |
( |
| ) |
|
|
virtualinherited |
return a comma separated list of response object types handled by this request handler
- Returns
- the comma separated list of response object types
- See also
- BESResponseObject
-
BESResponseNames
Definition at line 112 of file BESRequestHandler.cc.
◆ get_name()
virtual const std::string & BESRequestHandler::get_name |
( |
| ) |
const |
|
inlinevirtualinherited |
◆ get_no_zero_size_fullnameattr()
static bool HDF5RequestHandler::get_no_zero_size_fullnameattr |
( |
| ) |
|
|
inlinestatic |
◆ get_pass_fileid()
static bool HDF5RequestHandler::get_pass_fileid |
( |
| ) |
|
|
inlinestatic |
◆ get_srdata_mem_cache()
static ObjMemCache * HDF5RequestHandler::get_srdata_mem_cache |
( |
| ) |
|
|
inlinestatic |
◆ get_srdcache_entries()
static unsigned int HDF5RequestHandler::get_srdcache_entries |
( |
| ) |
|
|
inlinestatic |
◆ get_stp_east_filename()
static string HDF5RequestHandler::get_stp_east_filename |
( |
| ) |
|
|
inlinestatic |
◆ get_stp_north_filename()
static string HDF5RequestHandler::get_stp_north_filename |
( |
| ) |
|
|
inlinestatic |
◆ get_use_disk_cache()
static bool HDF5RequestHandler::get_use_disk_cache |
( |
| ) |
|
|
inlinestatic |
◆ get_use_eosgeo_cachefile()
static bool HDF5RequestHandler::get_use_eosgeo_cachefile |
( |
| ) |
|
|
inlinestatic |
◆ get_usecf()
static bool HDF5RequestHandler::get_usecf |
( |
| ) |
|
|
inlinestatic |
◆ get_usecfdmr()
static bool HDF5RequestHandler::get_usecfdmr |
( |
| ) |
|
|
inlinestatic |
◆ hdf5_build_das()
◆ hdf5_build_data()
◆ hdf5_build_dds()
◆ hdf5_build_dmr()
◆ hdf5_build_help()
◆ hdf5_build_version()
◆ remove_method()
bool BESRequestHandler::remove_method |
( |
const std::string & | name | ) |
|
|
virtualinherited |
remove the specified handler method from this request handler
- Parameters
-
handler_name | name of the method to be removed, same as the name of the response object |
- Returns
- true if successfully removed, false if not found
- See also
- BESResponseNames
Definition at line 74 of file BESRequestHandler.cc.
◆ set_dmr_64bit_int()
static void HDF5RequestHandler::set_dmr_64bit_int |
( |
libdap::DMR * | dmr | ) |
|
|
inlinestatic |
◆ set_lrdata_mem_cache()
void HDF5RequestHandler::set_lrdata_mem_cache |
( |
ObjMemCache * | my_lrdata_mem_cache | ) |
const |
|
inline |
◆ set_srdata_mem_cache()
void HDF5RequestHandler::set_srdata_mem_cache |
( |
ObjMemCache * | my_srdata_mem_cache | ) |
const |
|
inline |
The documentation for this class was generated from the following files: