org.apache.http.impl.nio.reactor
Class SessionOutputBuffer

java.lang.Object
  extended byorg.apache.http.nio.util.ExpandableBuffer
      extended byorg.apache.http.impl.nio.reactor.SessionOutputBuffer

public class SessionOutputBuffer
extends ExpandableBuffer


Field Summary
 
Fields inherited from class org.apache.http.nio.util.ExpandableBuffer
buffer, INPUT_MODE, OUTPUT_MODE
 
Constructor Summary
SessionOutputBuffer(int buffersize, int linebuffersize)
           
 
Method Summary
 int flush(java.nio.channels.WritableByteChannel channel)
           
 void reset(org.apache.http.params.HttpParams params)
           
 void write(java.nio.ByteBuffer src)
           
 void writeLine(org.apache.http.util.CharArrayBuffer linebuffer)
           
 void writeLine(java.lang.String s)
           
 
Methods inherited from class org.apache.http.nio.util.ExpandableBuffer
capacity, clear, ensureCapacity, expand, getMode, hasData, length, setInputMode, setOutputMode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SessionOutputBuffer

public SessionOutputBuffer(int buffersize,
                           int linebuffersize)
Method Detail

reset

public void reset(org.apache.http.params.HttpParams params)

flush

public int flush(java.nio.channels.WritableByteChannel channel)
          throws java.io.IOException
Throws:
java.io.IOException

write

public void write(java.nio.ByteBuffer src)

writeLine

public void writeLine(org.apache.http.util.CharArrayBuffer linebuffer)

writeLine

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


Copyright © 2005-2007 Apache Software Foundation. All Rights Reserved.