2005/5/9

     
 

class HttpURLConnectionImpl

artefaktur
Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   Namespace Members   Compound Members   Related Pages  

acdk::net::HttpURLConnectionImpl Class Reference

#include <HttpURLConnectionImpl.h>

Inheritance diagram for acdk::net::HttpURLConnectionImpl:

acdk::net::HttpURLConnection acdk::net::URLConnection acdk::lang::Object acdk::lang::ObjectBase acdk::lang::dmi::StdDispatch acdkx::net::ssl::HTTPSUrlConnection List of all members.

Detailed Description

Implementation of HttpURLConnection Currently only HTTP 1.0 is supported It doesn't evaluate the HTTP repsonse header and does no decoding of content.


Public Member Functions

 HttpURLConnectionImpl (IN(RURL) url)
void connect ()
RReader getInputStream ()
void disconnect ()
void setRequestMethod (IN(RString) method)
bool usingProxy ()
int getHeaderFieldCount ()
RString getHeaderFieldKey (int n)
RString getHeaderField (int n)
virtual int getStandardPort ()
virtual RSocket createSocket (IN(RString) host, int port)

Private Attributes

RString proxy_name
int proxy_port
bool with_proxy
RSocket socket
acdk::io::RReader in_stream
acdk::io::RWriter out_stream
RHeaderFieldHelper headers


Constructor & Destructor Documentation

acdk::net::HttpURLConnectionImpl::HttpURLConnectionImpl (  IN(RURL)  url  ) 
 


Member Function Documentation

void acdk::net::HttpURLConnectionImpl::connect (   )  [virtual]
 

Implements acdk::net::URLConnection.

virtual RSocket acdk::net::HttpURLConnectionImpl::createSocket (  IN(RString)  host,
int  port
)  [virtual]
 

Implements acdk::net::HttpURLConnection.

void acdk::net::HttpURLConnectionImpl::disconnect (   )  [inline, virtual]
 

Implements acdk::net::HttpURLConnection.

RString acdk::net::HttpURLConnectionImpl::getHeaderField (  int  n  )  [inline, virtual]
 

Reimplemented from acdk::net::URLConnection.

int acdk::net::HttpURLConnectionImpl::getHeaderFieldCount (   )  [inline]
 

RString acdk::net::HttpURLConnectionImpl::getHeaderFieldKey (  int  n  )  [inline, virtual]
 

Reimplemented from acdk::net::URLConnection.

RReader acdk::net::HttpURLConnectionImpl::getInputStream (   )  [inline, virtual]
 

Reimplemented from acdk::net::URLConnection.

virtual int acdk::net::HttpURLConnectionImpl::getStandardPort (   )  [inline, virtual]
 

Implements acdk::net::HttpURLConnection.

Reimplemented in acdkx::net::ssl::HTTPSUrlConnection.

void acdk::net::HttpURLConnectionImpl::setRequestMethod (  IN(RString)  method  )  [virtual]
 

Reimplemented from acdk::net::HttpURLConnection.

bool acdk::net::HttpURLConnectionImpl::usingProxy (   )  [inline, virtual]
 

Implements acdk::net::HttpURLConnection.


Member Data Documentation

RHeaderFieldHelper acdk::net::HttpURLConnectionImpl::headers [private]
 

acdk::io::RReader acdk::net::HttpURLConnectionImpl::in_stream [private]
 

acdk::io::RWriter acdk::net::HttpURLConnectionImpl::out_stream [private]
 

RString acdk::net::HttpURLConnectionImpl::proxy_name [private]
 

int acdk::net::HttpURLConnectionImpl::proxy_port [private]
 

RSocket acdk::net::HttpURLConnectionImpl::socket [private]
 

bool acdk::net::HttpURLConnectionImpl::with_proxy [private]