org.apache.http.impl.conn
Class LoggingSessionOutputBuffer

java.lang.Object
  extended by org.apache.http.impl.conn.LoggingSessionOutputBuffer
All Implemented Interfaces:
SessionOutputBuffer

Deprecated. (4.3) no longer used.

@Immutable
@Deprecated
public class LoggingSessionOutputBuffer
extends Object
implements SessionOutputBuffer

Logs all data written to the wire LOG.

Since:
4.0

Constructor Summary
LoggingSessionOutputBuffer(SessionOutputBuffer out, Wire wire)
          Deprecated.  
LoggingSessionOutputBuffer(SessionOutputBuffer out, Wire wire, String charset)
          Deprecated. Create an instance that wraps the specified session output buffer.
 
Method Summary
 void flush()
          Deprecated.  
 HttpTransportMetrics getMetrics()
          Deprecated.  
 void write(byte[] b)
          Deprecated.  
 void write(byte[] b, int off, int len)
          Deprecated.  
 void write(int b)
          Deprecated.  
 void writeLine(CharArrayBuffer buffer)
          Deprecated.  
 void writeLine(String s)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoggingSessionOutputBuffer

public LoggingSessionOutputBuffer(SessionOutputBuffer out,
                                  Wire wire,
                                  String charset)
Deprecated. 
Create an instance that wraps the specified session output buffer.

Parameters:
out - The session output buffer.
wire - The Wire log to use.
charset - protocol charset, ASCII if null

LoggingSessionOutputBuffer

public LoggingSessionOutputBuffer(SessionOutputBuffer out,
                                  Wire wire)
Deprecated. 
Method Detail

write

public void write(byte[] b,
                  int off,
                  int len)
           throws IOException
Deprecated. 
Specified by:
write in interface SessionOutputBuffer
Throws:
IOException

write

public void write(int b)
           throws IOException
Deprecated. 
Specified by:
write in interface SessionOutputBuffer
Throws:
IOException

write

public void write(byte[] b)
           throws IOException
Deprecated. 
Specified by:
write in interface SessionOutputBuffer
Throws:
IOException

flush

public void flush()
           throws IOException
Deprecated. 
Specified by:
flush in interface SessionOutputBuffer
Throws:
IOException

writeLine

public void writeLine(CharArrayBuffer buffer)
               throws IOException
Deprecated. 
Specified by:
writeLine in interface SessionOutputBuffer
Throws:
IOException

writeLine

public void writeLine(String s)
               throws IOException
Deprecated. 
Specified by:
writeLine in interface SessionOutputBuffer
Throws:
IOException

getMetrics

public HttpTransportMetrics getMetrics()
Deprecated. 
Specified by:
getMetrics in interface SessionOutputBuffer


Copyright © 1999–2014 The Apache Software Foundation. All rights reserved.