#include <HTTPS_URL.h>


Classes | |
| class | Factory |
Public Types | |
| enum | { HTTPS_PORT = 443 } |
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 ACE_CString | get_request_uri () const |
| virtual u_short | default_port () const |
Static Public Member Functions | |
| static const ACE_CString & | protocol () |
Static Public Attributes | |
| static const char * | PROTOCOL = "https" |
Protected Member Functions | |
| virtual ACE::INet::ClientRequestHandler * | create_default_request_handler () const |
Private Types | |
| typedef ACE_Singleton< Factory, ACE_Null_Mutex > | TURLFactorySingleton |
Static Private Attributes | |
| static const Factory & | factory_ = *URL::TURLFactorySingleton::instance () |
Definition at line 35 of file HTTPS_URL.h.
typedef ACE_Singleton<Factory, ACE_Null_Mutex> ACE::HTTPS::URL::TURLFactorySingleton [private] |
Reimplemented from ACE::HTTP::URL.
Definition at line 76 of file HTTPS_URL.h.
| anonymous enum |
| ACE::HTTPS::URL::URL | ( | ) |
Reimplemented from ACE::HTTP::URL.
Definition at line 26 of file HTTPS_URL.cpp.
: ACE::HTTP::URL (HTTPS_PORT) { }
| ACE::HTTPS::URL::URL | ( | const ACE_CString & | url_string | ) |
Reimplemented from ACE::HTTP::URL.
Definition at line 31 of file HTTPS_URL.cpp.
: ACE::HTTP::URL (HTTPS_PORT) { this->parse (url_string); }
| ACE::HTTPS::URL::URL | ( | const URL & | url | ) |
Definition at line 37 of file HTTPS_URL.cpp.
: ACE::HTTP::URL (0) { *this = url; }
| ACE::HTTPS::URL::~URL | ( | ) | [virtual] |
| ACE::INet::ClientRequestHandler * ACE::HTTPS::URL::create_default_request_handler | ( | ) | const [protected, virtual] |
Reimplemented from ACE::HTTP::URL.
Definition at line 78 of file HTTPS_URL.cpp.
{
ACE::INet::ClientRequestHandler* prh = 0;
ACE_NEW_NORETURN (prh, ACE::HTTP::ClientRequestHandler ());
return prh;
}
| u_short ACE::HTTPS::URL::default_port | ( | ) | const [inline, virtual] |
Reimplemented from ACE::HTTP::URL.
Definition at line 19 of file HTTPS_URL.inl.
{
return HTTPS_PORT;
}
| ACE_CString ACE::HTTPS::URL::get_request_uri | ( | ) | const [virtual] |
Reimplemented from ACE::HTTP::URL.
Definition at line 53 of file HTTPS_URL.cpp.
{
ACE::IOS::CString_OStream sos;
#if 0
if (!this->proxy_host_.empty ())
{
sos << this->get_scheme ().c_str () << "://"
<< ACE::INet::URL_INetBase::get_host ().c_str ();
if (ACE::INet::URL_INetBase::get_port () != HTTP_PORT)
{
sos << ':' << ACE::INet::URL_INetBase::get_port ();
}
}
#endif
// if path is empty we're requesting the root
sos << (this->get_path ().empty () ?
"/" :
this->get_path ().c_str ());
if (!this->get_query ().empty ())
sos << '?' << this->get_query ().c_str ();
if (!this->get_fragment ().empty ())
sos << '#' << this->get_fragment ().c_str ();
return sos.str ();
}
| const ACE_CString & ACE::HTTPS::URL::get_scheme | ( | ) | const [inline, virtual] |
Reimplemented from ACE::HTTP::URL.
Definition at line 13 of file HTTPS_URL.inl.
{
return protocol ();
}
Definition at line 47 of file HTTPS_URL.cpp.
{
ACE::HTTP::URL::operator=(url);
return *this;
}
| const ACE_CString & ACE::HTTPS::URL::protocol | ( | ) | [static] |
Reimplemented from ACE::HTTP::URL.
Definition at line 20 of file HTTPS_URL.cpp.
{
static const ACE_CString protocol_ (PROTOCOL);
return protocol_;
}
const URL::Factory & ACE::HTTPS::URL::factory_ = *URL::TURLFactorySingleton::instance () [static, private] |
Reimplemented from ACE::HTTP::URL.
Definition at line 77 of file HTTPS_URL.h.
const char * ACE::HTTPS::URL::PROTOCOL = "https" [static] |
Reimplemented from ACE::HTTP::URL.
Definition at line 52 of file HTTPS_URL.h.
1.7.0