org.apache.http.nio.reactor
Interface SessionInputBuffer
- All Known Implementing Classes:
- SessionInputBufferImpl
public interface SessionInputBuffer
Session input buffer for non-blocking connections.
- Since:
- 4.0
- Author:
- Oleg Kalnichevski
Method Summary |
int |
fill(java.nio.channels.ReadableByteChannel channel)
|
boolean |
hasData()
|
int |
length()
|
int |
read()
|
int |
read(java.nio.ByteBuffer dst)
|
int |
read(java.nio.ByteBuffer dst,
int maxLen)
|
int |
read(java.nio.channels.WritableByteChannel dst)
|
int |
read(java.nio.channels.WritableByteChannel dst,
int maxLen)
|
java.lang.String |
readLine(boolean endOfStream)
|
boolean |
readLine(org.apache.http.util.CharArrayBuffer linebuffer,
boolean endOfStream)
|
hasData
boolean hasData()
length
int length()
fill
int fill(java.nio.channels.ReadableByteChannel channel)
throws java.io.IOException
- Throws:
java.io.IOException
read
int read()
read
int read(java.nio.ByteBuffer dst,
int maxLen)
read
int read(java.nio.ByteBuffer dst)
read
int read(java.nio.channels.WritableByteChannel dst,
int maxLen)
throws java.io.IOException
- Throws:
java.io.IOException
read
int read(java.nio.channels.WritableByteChannel dst)
throws java.io.IOException
- Throws:
java.io.IOException
readLine
boolean readLine(org.apache.http.util.CharArrayBuffer linebuffer,
boolean endOfStream)
throws java.nio.charset.CharacterCodingException
- Throws:
java.nio.charset.CharacterCodingException
readLine
java.lang.String readLine(boolean endOfStream)
throws java.nio.charset.CharacterCodingException
- Throws:
java.nio.charset.CharacterCodingException
Copyright © 2005-2008 Apache Software Foundation. All Rights Reserved.