2 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
9 SessionBase& SessionHolder::operator *()
11 return this->session ();
15 SessionBase* SessionHolder::operator -> ()
17 return &this->session ();
21 bool ClientRequestHandler::HttpConnectionKey::is_proxy_connection () const
23 return this->proxy_connection_;
27 const ACE_CString& ClientRequestHandler::HttpConnectionKey::proxy_target_host () const
29 return this->proxy_target_host_;
33 u_short ClientRequestHandler::HttpConnectionKey::proxy_target_port () const
35 return this->proxy_target_port_;
39 Request& ClientRequestHandler::request ()
41 return this->request_;
45 const Request& ClientRequestHandler::request () const
47 return this->request_;
51 Response& ClientRequestHandler::response ()
53 return this->response_;
57 const Response& ClientRequestHandler::response () const
59 return this->response_;
63 SessionHolder& ClientRequestHandler::session ()
65 return *this->session_;
69 void ClientRequestHandler::session (SessionHolder* session)
71 this->session_ = session;
75 std::ostream& ClientRequestHandler::request_stream ()
77 return this->session_ ?
78 this->session ()->request_stream (*this) :
79 ACE::IOS::Null::out_stream_;
83 std::istream& ClientRequestHandler::response_stream ()
85 return this->session_ ?
86 this->session ()->response_stream (*this) :
87 ACE::IOS::Null::in_stream_;
92 ACE_END_VERSIONED_NAMESPACE_DECL