|
|||||||||||
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.LengthDelimitedEncoder
Field Summary |
Fields inherited from class org.apache.http.impl.nio.codecs.AbstractContentEncoder |
completed |
Constructor Summary | |
LengthDelimitedEncoder(java.nio.channels.WritableByteChannel channel,
long contentLength)
|
Method Summary | |
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, complete, isCompleted |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public LengthDelimitedEncoder(java.nio.channels.WritableByteChannel channel, long contentLength)
Method Detail |
public int write(java.nio.ByteBuffer src) throws java.io.IOException
ContentEncoder
src
- The buffer from which content is to be retrieved
java.io.IOException
- if I/O error occurs while writing contentpublic java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |