Class HTTPRequestReader

java.lang.Object
  |
  +--HTTPMessageReader
        |
        +--HTTPRequestReader

public class HTTPRequestReader
extends HTTPMessageReader

Stream reader for HTTP requests. The start line contains the whole URL (http://host/file) to retrieve.


Field Summary
(package private)  java.lang.String auth
          The Basic authorization parameter
(package private)  java.lang.String command
          Start line: The method, eg.
(package private)  java.lang.String file
          Start line: The file (with full path) concerned in the request
(package private)  java.lang.String host
          Start line: The host concerned in the request
(package private)  java.lang.String startLine
          The whole start line
 
Fields inherited from class HTTPMessageReader
body, connection, contentLength, header, message, mustCloseConnection, offset, versionProtocol
 
Constructor Summary
HTTPRequestReader(java.io.InputStream istream)
          Retrieves a HTTP request message from the connection stream.
 
Methods inherited from class HTTPMessageReader
concatenateHeaderBody, eraseCommand, retrieveBody, retrieveHeader, toArray
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

command

java.lang.String command
Start line: The method, eg. GET, POST, etc.

host

java.lang.String host
Start line: The host concerned in the request

file

java.lang.String file
Start line: The file (with full path) concerned in the request

startLine

java.lang.String startLine
The whole start line

auth

java.lang.String auth
The Basic authorization parameter
Constructor Detail

HTTPRequestReader

public HTTPRequestReader(java.io.InputStream istream)
                  throws java.io.IOException,
                         java.util.NoSuchElementException
Retrieves a HTTP request message from the connection stream.
Parameters:
istream - the stream