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: 547802 $
- Author:
- Oleg Kalnichevski
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
getMetrics
HttpTransportMetrics getMetrics()
Copyright © 2005-2009 Apache Software Foundation. All Rights Reserved.