|Modifier and Type||Method and Description|
Notification that any resources allocated for writing can be released.
Notification that content should be written to the encoder.
void produceContent(ContentEncoder encoder, IOControl ioctrl) throws IOException
IOControlinstance passed as a parameter to the method can be used to suspend output events if the entity is temporarily unable to produce more content.
When all content is finished, this MUST call
Failure to do so could result in the entity never being written.
encoder- content encoder.
ioctrl- I/O control of the underlying connection.
Copyright © 2005–2015 The Apache Software Foundation. All rights reserved.