#include <EffectiveUrl.h>
An EffectiveUrl is always acquired by following redirects and so may include response headers received with the final redirect response.
Definition at line 48 of file EffectiveUrl.h.
◆ EffectiveUrl() [1/8]
http::EffectiveUrl::EffectiveUrl |
( |
| ) |
|
|
explicit |
◆ EffectiveUrl() [2/8]
http::EffectiveUrl::EffectiveUrl |
( |
const std::string & |
url_s, |
|
|
bool |
trusted = false |
|
) |
| |
|
inlineexplicit |
◆ EffectiveUrl() [3/8]
http::EffectiveUrl::EffectiveUrl |
( |
const std::string & |
url_s, |
|
|
const std::vector< std::string > & |
resp_hdrs, |
|
|
bool |
trusted = false |
|
) |
| |
|
inlineexplicit |
◆ EffectiveUrl() [4/8]
http::EffectiveUrl::EffectiveUrl |
( |
EffectiveUrl const & |
src_url | ) |
|
|
inline |
◆ EffectiveUrl() [5/8]
http::EffectiveUrl::EffectiveUrl |
( |
http::url const & |
src_url | ) |
|
|
inlineexplicit |
◆ EffectiveUrl() [6/8]
http::EffectiveUrl::EffectiveUrl |
( |
const std::shared_ptr< http::EffectiveUrl > & |
source_url | ) |
|
|
inlineexplicit |
◆ EffectiveUrl() [7/8]
◆ EffectiveUrl() [8/8]
http::EffectiveUrl::EffectiveUrl |
( |
std::shared_ptr< http::url > |
source_url | ) |
|
|
inlineexplicit |
◆ ~EffectiveUrl()
virtual http::EffectiveUrl::~EffectiveUrl |
( |
| ) |
|
|
inlinevirtual |
◆ dump()
string http::EffectiveUrl::dump |
( |
| ) |
|
|
overridevirtual |
A string dump of the instance.
- Returns
- A string containing readable instance state.
Reimplemented from http::url.
Definition at line 139 of file EffectiveUrl.cc.
◆ get_header()
void http::EffectiveUrl::get_header |
( |
const std::string & |
name, |
|
|
std::string & |
value, |
|
|
bool & |
found |
|
) |
| |
get the value of the named header
- Parameters
-
name | Name of header value to retrieve |
value | A return value parameter into which the value will be written. |
found | A returned value parameter set to true if a value associated wit the header name is located, false otherwise. |
Definition at line 119 of file EffectiveUrl.cc.
◆ host()
virtual std::string http::url::host |
( |
| ) |
const |
|
inlinevirtualinherited |
◆ ingest_response_headers()
void http::EffectiveUrl::ingest_response_headers |
( |
const std::vector< std::string > & |
resp_hdrs | ) |
|
Ingests the passed response hedaers.
- Parameters
-
resp_hdrs | The reponse headers to ingest. |
Definition at line 160 of file EffectiveUrl.cc.
◆ ingest_time()
virtual std::time_t http::url::ingest_time |
( |
| ) |
const |
|
inlinevirtualinherited |
◆ is_expired()
bool http::EffectiveUrl::is_expired |
( |
| ) |
|
|
overridevirtual |
Returns true if URL is reusable, false otherwise.
- Returns
- Returns true if the query string parameters or response headers received with the EffectiveUrl indicate that the URL may be reused. False otherwise
Reimplemented from http::url.
Definition at line 69 of file EffectiveUrl.cc.
◆ is_trusted()
virtual bool http::url::is_trusted |
( |
| ) |
|
|
inlinevirtualinherited |
◆ path()
virtual std::string http::url::path |
( |
| ) |
const |
|
inlinevirtualinherited |
◆ protocol()
virtual std::string http::url::protocol |
( |
| ) |
const |
|
inlinevirtualinherited |
◆ query()
virtual std::string http::url::query |
( |
| ) |
const |
|
inlinevirtualinherited |
◆ query_parameter_value()
string http::url::query_parameter_value |
( |
const std::string & |
key | ) |
const |
|
virtualinherited |
◆ query_parameter_values()
void http::url::query_parameter_values |
( |
const std::string & |
key, |
|
|
std::vector< std::string > & |
values |
|
) |
| const |
|
virtualinherited |
◆ set_ingest_time()
virtual void http::url::set_ingest_time |
( |
const std::time_t & |
itime | ) |
|
|
inlinevirtualinherited |
◆ str()
virtual std::string http::url::str |
( |
| ) |
const |
|
inlinevirtualinherited |
The documentation for this class was generated from the following files: