bes Updated for version 3.21.1
The Backend Server (BES) is the lower two tiers of the Hyrax data server
httpd_catalog::HttpdDirScraper Class Reference

This class builds a BES CatalogNode response from an httpd-generated directory page. More...

#include <HttpdDirScraper.h>

Collaboration diagram for httpd_catalog::HttpdDirScraper:
Collaboration graph

Public Member Functions

virtual bes::CatalogNodeget_node (const std::string &url, const std::string &path) const
 

Detailed Description

This class builds a BES CatalogNode response from an httpd-generated directory page.

The scraping is done procedurally. The primary assumption is that links that point to nodes always end in "/". Links that end in other characters are assumed to be links to "leaves".

Definition at line 43 of file HttpdDirScraper.h.

Constructor & Destructor Documentation

◆ HttpdDirScraper()

httpd_catalog::HttpdDirScraper::HttpdDirScraper ( )

Definition at line 51 of file HttpdDirScraper.cc.

◆ ~HttpdDirScraper()

httpd_catalog::HttpdDirScraper::~HttpdDirScraper ( )
inline

Definition at line 57 of file HttpdDirScraper.h.

Member Function Documentation

◆ get_node()

bes::CatalogNode * httpd_catalog::HttpdDirScraper::get_node ( const std::string & url,
const std::string & path ) const
virtual

Definition at line 462 of file HttpdDirScraper.cc.


The documentation for this class was generated from the following files: