|
lintel 0.2.0
|
#include <HttpComponent.h>
Public Member Functions | |
| HttpComponent () | |
| HttpComponent (std::shared_ptr< EnvironmentConfiguration > environmentConfiguration) | |
| std::vector< std::shared_ptr< Entry > > | parse (const std::string &content, int32_t lineOffset, const std::string &fileName) override |
Public Member Functions inherited from lintel::Component | |
| Component (std::string configRoot) | |
| virtual | ~Component ()=default |
| const std::string & | getConfigRoot () const |
Additional Inherited Members | |
Static Protected Member Functions inherited from lintel::Component | |
| static std::size_t | convertToBytes (const std::string &size) |
Parses HTTP host configuration (server/client) from XML
| lintel::HttpComponent::HttpComponent | ( | ) |
Construct without an environment configuration; relative cert/key paths are then not resolved
|
explicit |
Construct with an environment configuration so that relative cert/key paths are resolved against the configuration directory
| environmentConfiguration | The environment configuration |
|
overridevirtual |
Parse XML content into HTTP configuration entries
| content | XML content |
| fileName | source file name |
| lineOffset | line offset for error reporting |
Implements lintel::Component.