MySQL 8.4.2
Source Code Documentation
RestRoutingConnections Class Reference

#include <rest_routing_connections.h>

Inheritance diagram for RestRoutingConnections:
[legend]

Public Member Functions

 RestRoutingConnections (const std::string &require_realm)
 
bool on_handle_request (http::base::Request &req, const std::string &base_path, const std::vector< std::string > &path_matches) override
 
- Public Member Functions inherited from RestApiHandler
 RestApiHandler (const std::string &require_realm, HttpMethod::Bitset allowed_methods)
 
bool try_handle_request (http::base::Request &req, const std::string &base_path, const std::vector< std::string > &path_matches) override
 try to handle the request. More...
 
- Public Member Functions inherited from BaseRestApiHandler
 BaseRestApiHandler ()=default
 
 BaseRestApiHandler (const BaseRestApiHandler &)=default
 
 BaseRestApiHandler (BaseRestApiHandler &&)=default
 
BaseRestApiHandleroperator= (const BaseRestApiHandler &)=default
 
BaseRestApiHandleroperator= (BaseRestApiHandler &&)=default
 
virtual ~BaseRestApiHandler ()
 

Static Public Attributes

static constexpr const char path_regex [] = "^/routes/([^/]+)/connections/?$"
 
static constexpr const char kKeyBytesFromServer [] = "bytesToServer"
 
static constexpr const char kKeyBytesToServer [] = "bytesFromServer"
 
static constexpr const char kKeyDestinationAddress [] = "destinationAddress"
 
static constexpr const char kKeySourceAddress [] = "sourceAddress"
 
static constexpr const char kKeyTimeConnectedToServer []
 
static constexpr const char kKeyTimeLastSentToServer []
 
static constexpr const char kKeyTimeLastReceivedFromServer []
 
static constexpr const char kKeyTimeStarted [] = "timeStarted"
 

Constructor & Destructor Documentation

◆ RestRoutingConnections()

RestRoutingConnections::RestRoutingConnections ( const std::string &  require_realm)
inline

Member Function Documentation

◆ on_handle_request()

bool RestRoutingConnections::on_handle_request ( http::base::Request req,
const std::string &  base_path,
const std::vector< std::string > &  path_matches 
)
overridevirtual

Implements RestApiHandler.

Member Data Documentation

◆ kKeyBytesFromServer

constexpr const char RestRoutingConnections::kKeyBytesFromServer[] = "bytesToServer"
staticconstexpr

◆ kKeyBytesToServer

constexpr const char RestRoutingConnections::kKeyBytesToServer[] = "bytesFromServer"
staticconstexpr

◆ kKeyDestinationAddress

constexpr const char RestRoutingConnections::kKeyDestinationAddress[] = "destinationAddress"
staticconstexpr

◆ kKeySourceAddress

constexpr const char RestRoutingConnections::kKeySourceAddress[] = "sourceAddress"
staticconstexpr

◆ kKeyTimeConnectedToServer

constexpr const char RestRoutingConnections::kKeyTimeConnectedToServer[]
staticconstexpr
Initial value:
=
"timeConnectedToServer"

◆ kKeyTimeLastReceivedFromServer

constexpr const char RestRoutingConnections::kKeyTimeLastReceivedFromServer[]
staticconstexpr
Initial value:
=
"timeLastReceivedFromServer"

◆ kKeyTimeLastSentToServer

constexpr const char RestRoutingConnections::kKeyTimeLastSentToServer[]
staticconstexpr
Initial value:
=
"timeLastSentToServer"

◆ kKeyTimeStarted

constexpr const char RestRoutingConnections::kKeyTimeStarted[] = "timeStarted"
staticconstexpr

◆ path_regex

constexpr const char RestRoutingConnections::path_regex[] = "^/routes/([^/]+)/connections/?$"
staticconstexpr

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