org.apache.http.io
Interface HttpDataTransmitter

All Known Implementing Classes:
AbstractHttpDataTransmitter, SocketHttpDataTransmitter

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: 376961 $
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

void reset(HttpParams params)

write

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

write

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

write

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

writeLine

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

writeLine

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

flush

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


Copyright 2005-2005-2006 Apache Software Foundation. All Rights Reserved.