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

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

public class SessionInputBuffer
extends ExpandableBuffer


Field Summary
 
Fields inherited from class org.apache.http.nio.util.ExpandableBuffer
buffer, INPUT_MODE, OUTPUT_MODE
 
Constructor Summary
SessionInputBuffer(int buffersize, int linebuffersize)
           
 
Method Summary
 int fill(java.nio.channels.ReadableByteChannel channel)
           
 int read()
           
 int read(java.nio.ByteBuffer dst)
           
 int read(java.nio.ByteBuffer dst, int maxLen)
           
 java.lang.String readLine(boolean endOfStream)
           
 boolean readLine(org.apache.http.util.CharArrayBuffer linebuffer, boolean endOfStream)
           
 void reset(org.apache.http.params.HttpParams params)
           
 
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

SessionInputBuffer

public SessionInputBuffer(int buffersize,
                          int linebuffersize)
Method Detail

reset

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

fill

public int fill(java.nio.channels.ReadableByteChannel channel)
         throws java.io.IOException
Throws:
java.io.IOException

read

public int read()

read

public int read(java.nio.ByteBuffer dst,
                int maxLen)

read

public int read(java.nio.ByteBuffer dst)

readLine

public boolean readLine(org.apache.http.util.CharArrayBuffer linebuffer,
                        boolean endOfStream)

readLine

public java.lang.String readLine(boolean endOfStream)


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