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
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SessionInputBuffer
public SessionInputBuffer(int buffersize,
int linebuffersize)
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.