ACE_INet  6.1.0
Classes | Public Member Functions | Protected Member Functions | Private Attributes
ACE::HTTP::ClientRequestHandler Class Reference

#include <HTTP_ClientRequestHandler.h>

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

List of all members.

Classes

class  HttpConnectionKey

Public Member Functions

 ClientRequestHandler ()
virtual ~ClientRequestHandler ()
virtual Requestrequest ()
virtual const Requestrequest () const
virtual Responseresponse ()
virtual const Responseresponse () const
std::ostream & request_stream ()
virtual std::istream & response_stream ()
virtual bool is_response_ok () const
virtual std::istream & handle_open_request (const ACE::INet::URL_Base &url)
virtual std::istream & handle_get_request (const URL &url)

Protected Member Functions

virtual void on_eof ()
SessionHoldersession ()
void session (SessionHolder *session)
virtual bool initialize_connection (const ACE_CString &scheme, const ACE_CString &host, u_short port, bool proxy_conn=false, const ACE_CString &proxy_host=Request::EMPTY, u_short proxy_port=0)
virtual void initialize_request (const URL &url, Request &request)
virtual void handle_request_error (const URL &url)
virtual void handle_connection_error (const URL &url)
void release_connection ()
void close_connection ()

Private Attributes

Request request_
Response response_
SessionHoldersession_

Constructor & Destructor Documentation

ACE::HTTP::ClientRequestHandler::ClientRequestHandler ( )

Reimplemented from ACE::INet::ClientRequestHandler.

ACE::HTTP::ClientRequestHandler::~ClientRequestHandler ( ) [virtual]

Reimplemented from ACE::INet::ClientRequestHandler.


Member Function Documentation

void ACE::HTTP::ClientRequestHandler::close_connection ( ) [protected]
void ACE::HTTP::ClientRequestHandler::handle_connection_error ( const URL url) [protected, virtual]

Reimplemented in My_HTTP_RequestHandler.

std::istream & ACE::HTTP::ClientRequestHandler::handle_get_request ( const URL url) [virtual]
std::istream & ACE::HTTP::ClientRequestHandler::handle_open_request ( const ACE::INet::URL_Base url) [virtual]
void ACE::HTTP::ClientRequestHandler::handle_request_error ( const URL url) [protected, virtual]

Reimplemented in My_HTTP_RequestHandler.

bool ACE::HTTP::ClientRequestHandler::initialize_connection ( const ACE_CString scheme,
const ACE_CString host,
u_short  port,
bool  proxy_conn = false,
const ACE_CString proxy_host = Request::EMPTY,
u_short  proxy_port = 0 
) [protected, virtual]
void ACE::HTTP::ClientRequestHandler::initialize_request ( const URL url,
Request request 
) [protected, virtual]
bool ACE::HTTP::ClientRequestHandler::is_response_ok ( ) const [virtual]
void ACE::HTTP::ClientRequestHandler::on_eof ( void  ) [protected, virtual]
void ACE::HTTP::ClientRequestHandler::release_connection ( ) [protected]
Request & ACE::HTTP::ClientRequestHandler::request ( ) [inline, virtual]
const Request & ACE::HTTP::ClientRequestHandler::request ( ) const [inline, virtual]
std::ostream & ACE::HTTP::ClientRequestHandler::request_stream ( ) [inline]
Response & ACE::HTTP::ClientRequestHandler::response ( ) [inline, virtual]
const Response & ACE::HTTP::ClientRequestHandler::response ( ) const [inline, virtual]
std::istream & ACE::HTTP::ClientRequestHandler::response_stream ( ) [inline, virtual]
SessionHolder & ACE::HTTP::ClientRequestHandler::session ( ) [inline, protected]
void ACE::HTTP::ClientRequestHandler::session ( SessionHolder session) [inline, protected]

Member Data Documentation


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