org.apache.http.impl.nio.reactor
Class SessionInputBuffer
java.lang.Object
org.apache.http.nio.util.ExpandableBuffer
org.apache.http.impl.nio.reactor.SessionInputBuffer
public class SessionInputBuffer
- extends ExpandableBuffer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SessionInputBuffer
public SessionInputBuffer(int buffersize,
int linebuffersize,
ByteBufferAllocator allocator)
SessionInputBuffer
public SessionInputBuffer(int buffersize,
int linebuffersize)
reset
public void reset(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(CharArrayBuffer linebuffer,
boolean endOfStream)
throws java.nio.charset.CharacterCodingException
- Throws:
java.nio.charset.CharacterCodingException
readLine
public java.lang.String readLine(boolean endOfStream)
throws java.nio.charset.CharacterCodingException
- Throws:
java.nio.charset.CharacterCodingException
Copyright © 2005-2009 Apache Software Foundation. All Rights Reserved.