org.apache.http.io
Interface HttpDataTransmitter

All Known Implementing Classes:
AbstractHttpDataTransmitter

public interface HttpDataTransmitter

Interface for sending data. Unlike OutputStream, this interface is tailored to the needs of the HTTP components.

Since:
4.0
Version:
$Revision: 496070 $
Author:
Oleg Kalnichevski

Method Summary
 void flush()
           
 void reset(HttpParams params)
           
 void write(byte[] b)
           
 void write(byte[] b, int off, int len)
           
 void write(int b)
           
 void writeLine(CharArrayBuffer buffer)
           
 void writeLine(java.lang.String s)
           
 

Method Detail

reset

public void reset(HttpParams params)

write

public void write(byte[] b,
                  int off,
                  int len)
           throws java.io.IOException
Throws:
java.io.IOException

write

public void write(byte[] b)
           throws java.io.IOException
Throws:
java.io.IOException

write

public void write(int b)
           throws java.io.IOException
Throws:
java.io.IOException

writeLine

public void writeLine(java.lang.String s)
               throws java.io.IOException
Throws:
java.io.IOException

writeLine

public void writeLine(CharArrayBuffer buffer)
               throws java.io.IOException
Throws:
java.io.IOException

flush

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


Copyright © 2005-2007 Apache Software Foundation. All Rights Reserved.