org.apache.commons.httpclient
Class WireLogInputStream
java.lang.Object
|
+--java.io.InputStream
|
+--java.io.FilterInputStream
|
+--org.apache.commons.httpclient.WireLogInputStream
- class WireLogInputStream
- extends FilterInputStream
Logs all data read to the wire LOG.
- Since:
- 2.0
- Author:
- Ortwin Gl???ck, Mike Bowler, Oleg Kalnichevski
Method Summary |
int |
read()
|
int |
read(byte[] b)
|
int |
read(byte[] b,
int off,
int len)
|
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WireLogInputStream
public WireLogInputStream(InputStream in,
Wire wire)
- Create an instance that wraps the specified input stream.
- Parameters:
in
- The input stream.wire
- The wire log to use.
read
public int read(byte[] b,
int off,
int len)
throws IOException
- Overrides:
read
in class FilterInputStream
- See Also:
InputStream.read(byte[], int, int)
read
public int read()
throws IOException
- Overrides:
read
in class FilterInputStream
- See Also:
InputStream.read()
read
public int read(byte[] b)
throws IOException
- Overrides:
read
in class FilterInputStream
- See Also:
InputStream.read(byte[])
Copyright © 2001-2004 Apache Software Foundation. All Rights Reserved.