Save This Page
Home » HttpComponents-Core-4.0.1 » org.apache.http.impl.nio.reactor » [javadoc | source]
org.apache.http.impl.nio.reactor
public class: SessionInputBufferImpl [javadoc | source]
java.lang.Object
   org.apache.http.nio.util.ExpandableBuffer
      org.apache.http.impl.nio.reactor.SessionInputBufferImpl

All Implemented Interfaces:
    SessionInputBuffer, BufferInfo

Default implementation of SessionInputBuffer based on the ExpandableBuffer class.
Fields inherited from org.apache.http.nio.util.ExpandableBuffer:
INPUT_MODE,  OUTPUT_MODE,  buffer
Constructor:
 public SessionInputBufferImpl(int buffersize,
    int linebuffersize,
    HttpParams params) 
 public SessionInputBufferImpl(int buffersize,
    int linebuffersize,
    ByteBufferAllocator allocator,
    HttpParams params) 
Method from org.apache.http.impl.nio.reactor.SessionInputBufferImpl Summary:
fill,   read,   read,   read,   read,   read,   readLine,   readLine
Methods from org.apache.http.nio.util.ExpandableBuffer:
available,   capacity,   clear,   ensureCapacity,   expand,   getMode,   hasData,   length,   setInputMode,   setOutputMode,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.http.impl.nio.reactor.SessionInputBufferImpl Detail:
 public int fill(ReadableByteChannel channel) throws IOException 
 public int read() 
 public int read(ByteBuffer dst) 
 public int read(WritableByteChannel dst) throws IOException 
 public int read(ByteBuffer dst,
    int maxLen) 
 public int read(WritableByteChannel dst,
    int maxLen) throws IOException 
 public String readLine(boolean endOfStream) throws CharacterCodingException 
 public boolean readLine(CharArrayBuffer linebuffer,
    boolean endOfStream) throws CharacterCodingException