#include <HttpCharStream.h>
An implementation of ACEXML_CharStream for reading input from a URL. 
      
        
          | ACEXML_HttpCharStream::ACEXML_HttpCharStream | ( | void |  | ) |  | 
      
 
 
  
  | 
        
          | ACEXML_HttpCharStream::~ACEXML_HttpCharStream | ( | void |  | ) |  |  | virtual | 
 
 
  
  | 
        
          | int ACEXML_HttpCharStream::available | ( | void |  | ) |  |  | virtual | 
 
Returns the available ACEXML_Char in the buffer. -1 if the object is not initialized properly. 
Implements ACEXML_CharStream.
 
 
  
  | 
        
          | int ACEXML_HttpCharStream::close | ( | void |  | ) |  |  | virtual | 
 
Close this stream and release all resources used by it. 
Implements ACEXML_CharStream.
 
 
  
  | 
        
          | int ACEXML_HttpCharStream::determine_encoding | ( | void |  | ) |  |  | virtual | 
 
Determine the encoding of the file. 
 
 
Read the next ACEXML_Char. Return -1 if we are not able to return an ACEXML_Char, 0 if EOS is reached, or 1 if succeed. 
Implements ACEXML_CharStream.
 
 
  
  | 
        
          | int ACEXML_HttpCharStream::get_url | ( | size_t & | len | ) |  |  | private | 
 
Fetch the URL and save it in backing store. 
 
 
  
  | 
        
          | const ACEXML_Char * ACEXML_HttpCharStream::getEncoding | ( | void |  | ) |  |  | virtual | 
 
 
  
  | 
        
          | const ACEXML_Char * ACEXML_HttpCharStream::getSystemId | ( | void |  | ) |  |  | virtual | 
 
 
      
        
          | int ACEXML_HttpCharStream::open | ( | const ACEXML_Char * | url | ) |  | 
      
 
 
  
  | 
        
          | int ACEXML_HttpCharStream::peek | ( | void |  | ) |  |  | virtual | 
 
Peek the next ACEXML_Char in the CharStream. Return the character if succeess, -1 if EOS is reached. 
Implements ACEXML_CharStream.
 
 
  
  | 
        
          | int ACEXML_HttpCharStream::read | ( | ACEXML_Char * | str, |  
          |  |  | size_t | len |  
          |  | ) |  |  |  | virtual | 
 
 
  
  | 
        
          | void ACEXML_HttpCharStream::rewind | ( | void |  | ) |  |  | virtual | 
 
Resets the file pointer to the beginning of the stream. 
Implements ACEXML_CharStream.
 
 
  
  | 
        
          | int ACEXML_HttpCharStream::send_request | ( | void |  | ) |  |  | private | 
 
Send a HTTP/1.1 request to fetch the contents of the URL. 
 
 
  
  | 
        
          | ACE_OFF_T ACEXML_HttpCharStream::data_offset_ |  | private | 
 
 
The documentation for this class was generated from the following files: