ACE_INet
6.3.1
|
#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 |
![]() | |
URL_INetAuthBase (u_short port) | |
virtual | ~URL_INetAuthBase () |
const ACE_CString & | get_user_info () const |
void | set_user_info (const ACE_CString &userinfo) |
virtual ACE_CString | get_authority () const |
![]() | |
URL_INetBase (u_short port) | |
virtual | ~URL_INetBase () |
void | set_host (const ACE_CString &host) |
void | set_port (u_short port) |
const ACE_CString & | get_host () const |
u_short | get_port () const |
virtual bool | validate () |
![]() | |
URL_Base () | |
virtual | ~URL_Base () |
virtual bool | parse (const ACE_CString &url_string) |
void | set_path (const ACE_CString &path) |
const ACE_CString & | get_protocol () const |
const ACE_CString & | get_path () const |
virtual URLStream | open () const |
virtual URLStream | open (ClientRequestHandler &rh) const |
Static Public Member Functions | |
static const ACE_CString & | protocol () |
![]() | |
static bool | add_authenticator (const ACE_CString &auth_id, AuthenticatorBase *authenticator) |
static bool | has_authenticator (const ACE_CString &auth_id) |
static AuthenticatorBase * | remove_authenticator (const ACE_CString &auth_id) |
static bool | authenticate (AuthenticationBase &authentication) |
![]() | |
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) |
Static Public Attributes | |
static const char * | PROTOCOL = "http" |
Protected Member Functions | |
URL (u_short port) | |
virtual ACE::INet::ClientRequestHandler * | create_default_request_handler () const |
![]() | |
virtual int | parse_authority (std::istream &is) |
![]() | |
virtual bool | has_authority () |
int | parse_authority_i (std::istream &is, std::ostream &os, int lastch) |
![]() | |
bool | strip_scheme (ACE_CString &url_string) |
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 () |
Additional Inherited Members | |
![]() | |
static const ACE_CString | empty_ |
|
private |
ACE::HTTP::URL::URL | ( | ) |
ACE::HTTP::URL::URL | ( | const ACE_CString & | url_string | ) |
ACE::HTTP::URL::URL | ( | const URL & | url | ) |
|
virtual |
Reimplemented in ACE::HTTPS::URL.
|
protected |
|
protectedvirtual |
Implements ACE::INet::URL_Base.
Reimplemented in ACE::HTTPS::URL.
|
inlinevirtual |
Implements ACE::INet::URL_INetBase.
Reimplemented in ACE::HTTPS::URL.
|
inlinevirtual |
Reimplemented from ACE::INet::URL_Base.
|
inline |
|
inline |
|
inlinevirtual |
Reimplemented from ACE::INet::URL_Base.
|
virtual |
Reimplemented in ACE::HTTPS::URL.
|
inlinevirtual |
Implements ACE::INet::URL_Base.
Reimplemented in ACE::HTTPS::URL.
|
inline |
|
static |
|
inlinevirtual |
Reimplemented from ACE::INet::URL_Base.
|
inline |
|
inlinevirtual |
Reimplemented from ACE::INet::URL_Base.
|
virtual |
Implements ACE::INet::URL_Base.
|
staticprivate |
|
private |
|
static |
|
private |
|
private |
|
private |