org.apache.http.nio.reactor
Interface SessionOutputBuffer
- All Known Implementing Classes:
- SessionOutputBufferImpl
public interface SessionOutputBuffer
Session output buffer for non-blocking connections.
- Since:
- 4.0
- Author:
- Oleg Kalnichevski
Method Summary |
int |
flush(java.nio.channels.WritableByteChannel channel)
|
boolean |
hasData()
|
int |
length()
|
void |
write(java.nio.ByteBuffer src)
|
void |
write(java.nio.channels.ReadableByteChannel src)
|
void |
writeLine(org.apache.http.util.CharArrayBuffer linebuffer)
|
void |
writeLine(java.lang.String s)
|
hasData
boolean hasData()
length
int length()
flush
int flush(java.nio.channels.WritableByteChannel channel)
throws java.io.IOException
- Throws:
java.io.IOException
write
void write(java.nio.ByteBuffer src)
write
void write(java.nio.channels.ReadableByteChannel src)
throws java.io.IOException
- Throws:
java.io.IOException
writeLine
void writeLine(org.apache.http.util.CharArrayBuffer linebuffer)
throws java.nio.charset.CharacterCodingException
- Throws:
java.nio.charset.CharacterCodingException
writeLine
void writeLine(java.lang.String s)
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2005-2008 Apache Software Foundation. All Rights Reserved.