org.objectweb.proactive.core.rmi
Class HTTPInputStream

java.lang.Object
  extended byjava.io.InputStream
      extended byjava.io.FilterInputStream
          extended byjava.io.DataInputStream
              extended byorg.objectweb.proactive.core.rmi.HTTPInputStream
All Implemented Interfaces:
java.io.DataInput

public class HTTPInputStream
extends java.io.DataInputStream

Author:
Sylvain Beucler Simple extension of the DataInputStream class, providing a LGPL non-deprecated version of readLine

Field Summary
 
Fields inherited from class java.io.FilterInputStream
in
 
Constructor Summary
HTTPInputStream(java.io.InputStream is)
           
 
Method Summary
 java.lang.String getHeader(java.lang.String fieldName)
           
 java.lang.String getLine()
          It is a reimplementation of readLine, renamed getLine since that method is final in DataOutputStream
 void parseHeaders()
           
 
Methods inherited from class java.io.DataInputStream
read, read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, readUTF, skipBytes
 
Methods inherited from class java.io.FilterInputStream
available, close, mark, markSupported, read, reset, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HTTPInputStream

public HTTPInputStream(java.io.InputStream is)
Method Detail

getLine

public java.lang.String getLine()
                         throws java.io.IOException
It is a reimplementation of readLine, renamed getLine since that method is final in DataOutputStream

Throws:
java.io.IOException

parseHeaders

public void parseHeaders()
                  throws java.io.IOException
Throws:
java.io.IOException

getHeader

public java.lang.String getHeader(java.lang.String fieldName)


Copyright 2001-2005 INRIA All Rights Reserved.