ACE_INet  6.1.0
Classes | Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Private Types | Private Attributes | Static Private Attributes
ACE::HTTP::URL Class Reference

#include <HTTP_URL.h>

Inheritance diagram for ACE::HTTP::URL:
Inheritance graph
[legend]
Collaboration diagram for ACE::HTTP::URL:
Collaboration graph
[legend]

List of all members.

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 ()
URLoperator= (const URL &url)
virtual const ACE_CStringget_scheme () const
virtual const ACE_CStringget_query () const
virtual const ACE_CStringget_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_CStringget_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_CStringprotocol ()

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 Factoryfactory_ = *URL::TURLFactorySingleton::instance ()

Member Typedef Documentation

Reimplemented from ACE::INet::URL_Base.

Reimplemented in ACE::HTTPS::URL.


Member Enumeration Documentation

anonymous enum
Enumerator:
HTTP_PORT 
HTTP_PROXY_PORT 

Constructor & Destructor Documentation

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]

Member Function Documentation

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]
URL & ACE::HTTP::URL::operator= ( const URL url)
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.


Member Data Documentation

Reimplemented in ACE::HTTPS::URL.

const char * ACE::HTTP::URL::PROTOCOL = "http" [static]

Reimplemented in ACE::HTTPS::URL.

u_short ACE::HTTP::URL::proxy_port_ [private]

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines