Classes | Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Private Types | Static Private Attributes

ACE::HTTPS::URL Class Reference

#include <HTTPS_URL.h>

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

List of all members.

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 ()
URLoperator= (const URL &url)
virtual const ACE_CStringget_scheme () const
virtual ACE_CString get_request_uri () const
virtual u_short default_port () const

Static Public Member Functions

static const ACE_CStringprotocol ()

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

Detailed Description

Definition at line 35 of file HTTPS_URL.h.


Member Typedef Documentation

Reimplemented from ACE::HTTP::URL.

Definition at line 76 of file HTTPS_URL.h.


Member Enumeration Documentation

anonymous enum
Enumerator:
HTTPS_PORT 

Definition at line 56 of file HTTPS_URL.h.

              {
                HTTPS_PORT = 443,
              };


Constructor & Destructor Documentation

ACE::HTTPS::URL::URL (  ) 

Reimplemented from ACE::HTTP::URL.

Definition at line 26 of file HTTPS_URL.cpp.

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]

Reimplemented from ACE::HTTP::URL.

Definition at line 43 of file HTTPS_URL.cpp.

      {
      }


Member Function Documentation

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.

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 ();
      }

URL & ACE::HTTPS::URL::operator= ( const URL url  ) 

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_;
      }


Member Data Documentation

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.


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