java.lang.Object | ||
↳ | org.apache.http.nio.util.ExpandableBuffer | |
↳ | org.apache.http.impl.nio.reactor.SessionOutputBufferImpl |
Default implementation of SessionOutputBuffer
based on
the ExpandableBuffer
class.
The following parameters can be used to customize the behavior of this class:
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.apache.http.nio.util.ExpandableBuffer
|
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.apache.http.nio.util.ExpandableBuffer
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Makes an attempt to flush the content of this buffer to the given
destination
WritableByteChannel . | |||||||||||
Copies content of the source buffer into this buffer.
| |||||||||||
Reads a sequence of bytes from the source channel into this buffer.
| |||||||||||
Copies content of the source buffer into this buffer as one line of text
including a line delimiter.
| |||||||||||
Copies content of the given string into this buffer as one line of text
including a line delimiter.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.apache.http.nio.util.ExpandableBuffer
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
org.apache.http.io.BufferInfo
| |||||||||||
From interface
org.apache.http.nio.reactor.SessionOutputBuffer
| |||||||||||
From interface
org.apache.http.nio.util.BufferInfo
|
Makes an attempt to flush the content of this buffer to the given
destination WritableByteChannel
.
channel | the destination channel. |
---|
IOException |
---|
Copies content of the source buffer into this buffer. The capacity of the destination will be expanded in order to accommodate the entire content of the source buffer.
src | the source buffer. |
---|
Reads a sequence of bytes from the source channel into this buffer.
src | the source channel. |
---|
IOException |
---|
Copies content of the source buffer into this buffer as one line of text including a line delimiter. The capacity of the destination will be expanded in order to accommodate the entire content of the source buffer.
The choice of a char encoding and line delimiter sequence is up to the specific implementations of this interface.
linebuffer | the source buffer. |
---|
CharacterCodingException |
---|
Copies content of the given string into this buffer as one line of text including a line delimiter. The capacity of the destination will be expanded in order to accommodate the entire string.
The choice of a char encoding and line delimiter sequence is up to the specific implementations of this interface.
s | the string. |
---|
IOException |
---|