ACE_INet
6.1.0
|
#include <HTTP_URL.h>
Classes | |
class | Factory |
Public Types | |
enum | { HTTP_PORT = 80, HTTP_PROXY_PORT = 8080 } |
Public Member Functions | |
URL () | |
URL (const ACE_CString &url_string) | |
URL (const URL &url) | |
virtual | ~URL () |
URL & | operator= (const URL &url) |
virtual const ACE_CString & | get_scheme () const |
virtual const ACE_CString & | get_query () const |
virtual const ACE_CString & | get_fragment () const |
virtual ACE_CString | get_request_uri () const |
virtual void | set_query (const ACE_CString &query) |
virtual void | set_fragment (const ACE_CString &fargment) |
void | set_proxy (const ACE_CString &proxy_host, u_short proxy_port=HTTP_PROXY_PORT) |
const ACE_CString & | get_proxy_host () const |
u_short | get_proxy_port () const |
bool | has_proxy () const |
virtual ACE_CString | to_string () const |
virtual u_short | default_port () const |
Static Public Member Functions | |
static const ACE_CString & | protocol () |
Static Public Attributes | |
static const char * | PROTOCOL = "http" |
Protected Member Functions | |
URL (u_short port) | |
virtual ACE::INet::ClientRequestHandler * | create_default_request_handler () const |
Private Types | |
typedef ACE_Singleton< Factory, ACE_Null_Mutex > | TURLFactorySingleton |
Private Attributes | |
ACE_CString | query_ |
ACE_CString | fragment_ |
ACE_CString | proxy_host_ |
u_short | proxy_port_ |
Static Private Attributes | |
static const Factory & | factory_ = *URL::TURLFactorySingleton::instance () |
typedef ACE_Singleton<Factory, ACE_Null_Mutex> ACE::HTTP::URL::TURLFactorySingleton [private] |
Reimplemented from ACE::INet::URL_Base.
Reimplemented in ACE::HTTPS::URL.
ACE::HTTP::URL::URL | ( | ) |
Reimplemented in ACE::HTTPS::URL.
ACE::HTTP::URL::URL | ( | const ACE_CString & | url_string | ) |
Reimplemented in ACE::HTTPS::URL.
ACE::HTTP::URL::URL | ( | const URL & | url | ) |
ACE::HTTP::URL::~URL | ( | ) | [virtual] |
Reimplemented in ACE::HTTPS::URL.
ACE::HTTP::URL::URL | ( | u_short | port | ) | [protected] |
ACE::INet::ClientRequestHandler * ACE::HTTP::URL::create_default_request_handler | ( | ) | const [protected, virtual] |
Implements ACE::INet::URL_Base.
Reimplemented in ACE::HTTPS::URL.
u_short ACE::HTTP::URL::default_port | ( | ) | const [inline, virtual] |
Implements ACE::INet::URL_INetBase.
Reimplemented in ACE::HTTPS::URL.
const ACE_CString & ACE::HTTP::URL::get_fragment | ( | ) | const [inline, virtual] |
Reimplemented from ACE::INet::URL_Base.
const ACE_CString & ACE::HTTP::URL::get_proxy_host | ( | ) | const [inline] |
u_short ACE::HTTP::URL::get_proxy_port | ( | ) | const [inline] |
const ACE_CString & ACE::HTTP::URL::get_query | ( | ) | const [inline, virtual] |
Reimplemented from ACE::INet::URL_Base.
ACE_CString ACE::HTTP::URL::get_request_uri | ( | ) | const [virtual] |
Reimplemented in ACE::HTTPS::URL.
const ACE_CString & ACE::HTTP::URL::get_scheme | ( | ) | const [inline, virtual] |
Implements ACE::INet::URL_Base.
Reimplemented in ACE::HTTPS::URL.
bool ACE::HTTP::URL::has_proxy | ( | ) | const [inline] |
const ACE_CString & ACE::HTTP::URL::protocol | ( | ) | [static] |
Reimplemented in ACE::HTTPS::URL.
void ACE::HTTP::URL::set_fragment | ( | const ACE_CString & | fargment | ) | [inline, virtual] |
void ACE::HTTP::URL::set_proxy | ( | const ACE_CString & | proxy_host, |
u_short | proxy_port = HTTP_PROXY_PORT |
||
) | [inline] |
void ACE::HTTP::URL::set_query | ( | const ACE_CString & | query | ) | [inline, virtual] |
ACE_CString ACE::HTTP::URL::to_string | ( | ) | const [virtual] |
Implements ACE::INet::URL_Base.
const URL::Factory & ACE::HTTP::URL::factory_ = *URL::TURLFactorySingleton::instance () [static, private] |
Reimplemented in ACE::HTTPS::URL.
ACE_CString ACE::HTTP::URL::fragment_ [private] |
const char * ACE::HTTP::URL::PROTOCOL = "http" [static] |
Reimplemented in ACE::HTTPS::URL.
ACE_CString ACE::HTTP::URL::proxy_host_ [private] |
u_short ACE::HTTP::URL::proxy_port_ [private] |
ACE_CString ACE::HTTP::URL::query_ [private] |