#include <gpudb/Http.hpp>
|
| HttpUrl () |
|
| HttpUrl (const char *url) |
|
| HttpUrl (const std::string &url) |
|
| HttpUrl (const std::string &protocol, const std::string &host, uint16_t port, const std::string &path, const std::string &query=std::string()) |
|
| HttpUrl (const HttpUrl &baseUrl, const std::string &path, const std::string &query=std::string()) |
|
const std::string & | getUrl () const |
|
const std::string & | getProtocol () const |
|
bool | isSecure () const |
|
const std::string & | getHost () const |
|
uint16_t | getPort () const |
|
const std::string & | getPath () const |
|
const std::string & | getQuery () const |
|
std::string | getAppendedUrl (const std::string &endpoint) const |
| Returns a string with the passed in endpoint appended to this URL. More...
|
|
| operator std::string () const |
|
|
static const std::string | HTTP |
|
static const std::string | HTTPS |
|
Definition at line 14 of file Http.hpp.
gpudb::HttpUrl::HttpUrl |
( |
| ) |
|
gpudb::HttpUrl::HttpUrl |
( |
const char * |
url | ) |
|
gpudb::HttpUrl::HttpUrl |
( |
const std::string & |
url | ) |
|
gpudb::HttpUrl::HttpUrl |
( |
const std::string & |
protocol, |
|
|
const std::string & |
host, |
|
|
uint16_t |
port, |
|
|
const std::string & |
path, |
|
|
const std::string & |
query = std::string() |
|
) |
| |
gpudb::HttpUrl::HttpUrl |
( |
const HttpUrl & |
baseUrl, |
|
|
const std::string & |
path, |
|
|
const std::string & |
query = std::string() |
|
) |
| |
std::string gpudb::HttpUrl::getAppendedUrl |
( |
const std::string & |
endpoint | ) |
const |
Returns a string with the passed in endpoint appended to this URL.
Takes care of the '/' separating this URL and the endpoint (i.e. adds one if needed or gets rid of one if two are presetnt).
const std::string& gpudb::HttpUrl::getHost |
( |
| ) |
const |
const std::string& gpudb::HttpUrl::getPath |
( |
| ) |
const |
uint16_t gpudb::HttpUrl::getPort |
( |
| ) |
const |
const std::string& gpudb::HttpUrl::getProtocol |
( |
| ) |
const |
const std::string& gpudb::HttpUrl::getQuery |
( |
| ) |
const |
const std::string& gpudb::HttpUrl::getUrl |
( |
| ) |
const |
bool gpudb::HttpUrl::isSecure |
( |
| ) |
const |
gpudb::HttpUrl::operator std::string |
( |
| ) |
const |
const std::string gpudb::HttpUrl::HTTP |
|
static |
const std::string gpudb::HttpUrl::HTTPS |
|
static |
The documentation for this class was generated from the following file: