org.apache.commons.httpclient
Class WireLogOutputStream
java.lang.Object
|
+--java.io.OutputStream
|
+--java.io.FilterOutputStream
|
+--org.apache.commons.httpclient.WireLogOutputStream
- class WireLogOutputStream
- extends FilterOutputStream
Logs all data written to the wire LOG.
- Since:
- 2.0beta1
- Author:
- Oleg Kalnichevski
Method Summary |
void |
write(byte[] b)
|
void |
write(byte[] b,
int off,
int len)
|
void |
write(int b)
|
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WireLogOutputStream
public WireLogOutputStream(OutputStream out,
Wire wire)
- Create an instance that wraps the specified output stream.
- Parameters:
out
- The output stream.wire
- The Wire log to use.
write
public void write(byte[] b,
int off,
int len)
throws IOException
- Overrides:
write
in class FilterOutputStream
- See Also:
OutputStream.write(byte[], int, int)
write
public void write(int b)
throws IOException
- Overrides:
write
in class FilterOutputStream
- See Also:
java.io.OutputStream#write()
write
public void write(byte[] b)
throws IOException
- Overrides:
write
in class FilterOutputStream
- See Also:
OutputStream.write(byte[])
Copyright © 2001-2004 Apache Software Foundation. All Rights Reserved.