|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.http.impl.nio.codecs.AbstractContentEncoder
org.apache.http.impl.nio.codecs.ChunkEncoder
Field Summary |
Fields inherited from class org.apache.http.impl.nio.codecs.AbstractContentEncoder |
completed |
Constructor Summary | |
ChunkEncoder(SessionOutputBuffer outbuf)
|
Method Summary | |
void |
complete()
Terminates the content stream. |
java.lang.String |
toString()
|
int |
write(java.nio.ByteBuffer src)
Writes a portion of entity content to the underlying channel. |
Methods inherited from class org.apache.http.impl.nio.codecs.AbstractContentEncoder |
assertNotCompleted, isCompleted |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ChunkEncoder(SessionOutputBuffer outbuf)
Method Detail |
public int write(java.nio.ByteBuffer src)
ContentEncoder
src
- The buffer from which content is to be retrieved
public void complete()
ContentEncoder
complete
in interface ContentEncoder
complete
in class AbstractContentEncoder
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |