Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.http.io
Interface HttpDataTransmitter  view HttpDataTransmitter download HttpDataTransmitter.java


public interface HttpDataTransmitter

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

Since:
4.0
Version:
$Revision: 376961 $

Method Summary
 void flush()
           
 void reset(org.apache.http.params.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(org.apache.http.params.HttpParams params)

write

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

write

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

write

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

writeLine

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

writeLine

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

flush

public void flush()
           throws java.io.IOException