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(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)

write

void write(java.nio.channels.ReadableByteChannel src)
           throws java.io.IOException
Throws:
java.io.IOException

writeLine

void writeLine(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.