|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ProducingNHttpEntity
An HttpEntity
that writes content to a ContentEncoder
.
Method Summary | |
---|---|
void |
finish()
Notification that any resources allocated for writing can be released. |
void |
produceContent(ContentEncoder encoder,
IOControl ioctrl)
Notification that content should be written to the encoder. |
Methods inherited from interface org.apache.http.HttpEntity |
---|
consumeContent, getContent, getContentEncoding, getContentLength, getContentType, isChunked, isRepeatable, isStreaming, writeTo |
Method Detail |
---|
void produceContent(ContentEncoder encoder, IOControl ioctrl) throws java.io.IOException
ContentEncoder.complete()
.
Failure to do so could result in the entity never being written.
java.io.IOException
void finish() throws java.io.IOException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |