MySQL 8.4.2
Source Code Documentation
http::base::Uri Class Reference

#include <uri.h>

Public Member Functions

 Uri ()
 
 Uri (const std::string &uri)
 
 Uri (Uri &&uri)
 
 Uri (const Uri &uri)
 
virtual ~Uri ()
 
virtual std::string join () const
 convert URI to string. More...
 
virtual std::string join_path () const
 
virtual std::string get_scheme () const
 
virtual void set_scheme (const std::string &scheme)
 
virtual std::string get_userinfo () const
 
virtual void set_userinfo (const std::string &userinfo)
 
virtual std::string get_host () const
 
virtual void set_host (const std::string &host)
 
virtual int32_t get_port () const
 
virtual void set_port (int32_t port)
 
virtual std::string get_path () const
 get path part of the URI. More...
 
virtual void set_path (const std::string &path)
 
virtual std::string get_fragment () const
 
virtual void set_fragment (const std::string &fragment)
 
virtual std::string get_query () const
 
virtual bool set_query (const std::string &query)
 
 operator bool () const
 check if URI is valid. More...
 
Urioperator= (Uri &&other)
 
Urioperator= (const Uri &other)
 

Private Attributes

mysqlrouter::URI uri_impl_
 

Constructor & Destructor Documentation

◆ Uri() [1/4]

http::base::Uri::Uri ( )

◆ Uri() [2/4]

http::base::Uri::Uri ( const std::string &  uri)

◆ Uri() [3/4]

http::base::Uri::Uri ( Uri &&  uri)

◆ Uri() [4/4]

http::base::Uri::Uri ( const Uri uri)

◆ ~Uri()

http::base::Uri::~Uri ( )
virtualdefault

Member Function Documentation

◆ get_fragment()

std::string http::base::Uri::get_fragment ( ) const
virtual

◆ get_host()

std::string http::base::Uri::get_host ( ) const
virtual

◆ get_path()

std::string http::base::Uri::get_path ( ) const
virtual

get path part of the URI.

◆ get_port()

int32_t http::base::Uri::get_port ( ) const
virtual

◆ get_query()

std::string http::base::Uri::get_query ( ) const
virtual

◆ get_scheme()

std::string http::base::Uri::get_scheme ( ) const
virtual

◆ get_userinfo()

std::string http::base::Uri::get_userinfo ( ) const
virtual

◆ join()

std::string http::base::Uri::join ( ) const
virtual

convert URI to string.

◆ join_path()

std::string http::base::Uri::join_path ( ) const
virtual

◆ operator bool()

http::base::Uri::operator bool ( ) const

check if URI is valid.

◆ operator=() [1/2]

Uri & http::base::Uri::operator= ( const Uri other)

◆ operator=() [2/2]

Uri & http::base::Uri::operator= ( Uri &&  other)

◆ set_fragment()

void http::base::Uri::set_fragment ( const std::string &  fragment)
virtual

◆ set_host()

void http::base::Uri::set_host ( const std::string &  host)
virtual

◆ set_path()

void http::base::Uri::set_path ( const std::string &  path)
virtual

◆ set_port()

void http::base::Uri::set_port ( int32_t  port)
virtual

◆ set_query()

bool http::base::Uri::set_query ( const std::string &  query)
virtual

◆ set_scheme()

void http::base::Uri::set_scheme ( const std::string &  scheme)
virtual

◆ set_userinfo()

void http::base::Uri::set_userinfo ( const std::string &  userinfo)
virtual

Member Data Documentation

◆ uri_impl_

mysqlrouter::URI http::base::Uri::uri_impl_
private

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