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 writeLine(org.apache.http.util.CharArrayBuffer linebuffer)
           
 void writeLine(java.lang.String s)
           
 

Method Detail

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)

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-2007 Apache Software Foundation. All Rights Reserved.