ACE_INet
6.1.0
|
#include <URLBase.h>
Classes | |
class | Factory |
Public Member Functions | |
URL_Base () | |
virtual | ~URL_Base () |
virtual bool | parse (const ACE_CString &url_string) |
void | set_path (const ACE_CString &path) |
virtual void | set_query (const ACE_CString &query) |
virtual void | set_fragment (const ACE_CString &fragment) |
virtual const ACE_CString & | get_scheme () const =0 |
const ACE_CString & | get_protocol () const |
virtual ACE_CString | get_authority () const |
const ACE_CString & | get_path () const |
virtual const ACE_CString & | get_query () const |
virtual const ACE_CString & | get_fragment () const |
virtual URLStream | open () const |
virtual URLStream | open (ClientRequestHandler &rh) const |
virtual ACE_CString | to_string () const =0 |
virtual bool | validate () |
Static Public Member Functions | |
static URL_Base * | create_from_string (const ACE_CString &url_string) |
static void | register_factory (Factory *url_factory) |
static void | deregister_factory (Factory *url_factory) |
Protected Member Functions | |
bool | strip_scheme (ACE_CString &url_string) |
virtual int | parse_authority (std::istream &is) |
virtual bool | has_authority () |
virtual ClientRequestHandler * | create_default_request_handler () const =0 |
Static Protected Attributes | |
static const ACE_CString | empty_ |
Private Types | |
typedef ACE_Map_Manager < ACE_CString, Factory *, ACE_SYNCH::MUTEX > | TURLFactoryMap |
typedef ACE_Singleton < TURLFactoryMap, ACE_SYNCH::NULL_MUTEX > | TURLFactorySingleton |
Private Attributes | |
ACE_CString | path_ |
Static Private Attributes | |
static TURLFactoryMap * | factories_ = 0 |
typedef ACE_Map_Manager<ACE_CString, Factory*, ACE_SYNCH::MUTEX> ACE::INet::URL_Base::TURLFactoryMap [private] |
typedef ACE_Singleton<TURLFactoryMap, ACE_SYNCH::NULL_MUTEX> ACE::INet::URL_Base::TURLFactorySingleton [private] |
Reimplemented in ACE::HTTP::URL, ACE::FTP::URL, and ACE::HTTPS::URL.
ACE::INet::URL_Base::URL_Base | ( | ) |
ACE::INet::URL_Base::~URL_Base | ( | ) | [virtual] |
virtual ClientRequestHandler* ACE::INet::URL_Base::create_default_request_handler | ( | ) | const [protected, pure virtual] |
Implemented in ACE::HTTP::URL, ACE::FTP::URL, and ACE::HTTPS::URL.
URL_Base * ACE::INet::URL_Base::create_from_string | ( | const ACE_CString & | url_string | ) | [static] |
void ACE::INet::URL_Base::deregister_factory | ( | Factory * | url_factory | ) | [static] |
ACE_CString ACE::INet::URL_Base::get_authority | ( | ) | const [inline, virtual] |
Reimplemented in ACE::INet::URL_INetAuthBase, and ACE::INet::URL_INetBase.
const ACE_CString & ACE::INet::URL_Base::get_fragment | ( | ) | const [inline, virtual] |
Reimplemented in ACE::HTTP::URL.
const ACE_CString & ACE::INet::URL_Base::get_path | ( | ) | const [inline] |
const ACE_CString & ACE::INet::URL_Base::get_protocol | ( | ) | const [inline] |
const ACE_CString & ACE::INet::URL_Base::get_query | ( | ) | const [inline, virtual] |
Reimplemented in ACE::HTTP::URL.
virtual const ACE_CString& ACE::INet::URL_Base::get_scheme | ( | ) | const [pure virtual] |
Implemented in ACE::FTP::URL, ACE::HTTP::URL, and ACE::HTTPS::URL.
bool ACE::INet::URL_Base::has_authority | ( | ) | [protected, virtual] |
Reimplemented in ACE::INet::URL_INetBase.
URLStream ACE::INet::URL_Base::open | ( | ) | const [virtual] |
URLStream ACE::INet::URL_Base::open | ( | ClientRequestHandler & | rh | ) | const [virtual] |
bool ACE::INet::URL_Base::parse | ( | const ACE_CString & | url_string | ) | [virtual] |
int ACE::INet::URL_Base::parse_authority | ( | std::istream & | is | ) | [protected, virtual] |
Reimplemented in ACE::INet::URL_INetAuthBase, and ACE::INet::URL_INetBase.
void ACE::INet::URL_Base::register_factory | ( | Factory * | url_factory | ) | [static] |
void ACE::INet::URL_Base::set_fragment | ( | const ACE_CString & | fragment | ) | [inline, virtual] |
void ACE::INet::URL_Base::set_path | ( | const ACE_CString & | path | ) | [inline] |
void ACE::INet::URL_Base::set_query | ( | const ACE_CString & | query | ) | [inline, virtual] |
bool ACE::INet::URL_Base::strip_scheme | ( | ACE_CString & | url_string | ) | [protected] |
virtual ACE_CString ACE::INet::URL_Base::to_string | ( | ) | const [pure virtual] |
Implemented in ACE::HTTP::URL, and ACE::FTP::URL.
bool ACE::INet::URL_Base::validate | ( | ) | [virtual] |
Reimplemented in ACE::INet::URL_INetBase.
const ACE_CString ACE::INet::URL_Base::empty_ [static, protected] |
URL_Base::TURLFactoryMap * ACE::INet::URL_Base::factories_ = 0 [static, private] |
ACE_CString ACE::INet::URL_Base::path_ [private] |