Wrapper class for the real HttpURLConnection to the test servlet
that reads the complete input stream into an internal buffer on
the first call to getInputStream(). This is to ensure that the test servlet
is not blocked on i/o when the test caller asks for the results.
The wrapper returns the buffered input stream from getInputStream and
delegates the rest of the calls.
This class is final so we don't have to provide access to protected instance
variables and methods of the wrapped connection.
version: $Id: AutoReadHttpURLConnection.java 239010 2004-06-19 15:10:53Z vmassol $
Returns an input stream containing the fully read contents of
the wrapped connection's input stream
the input stream exception: IOException - if an error occurs when reading the input stream