|Modifier and Type||Method and Description|
Notification that content is available to be read from the decoder.
Notification that any resources allocated for reading can be released.
void consumeContent(ContentDecoder decoder, IOControl ioctrl) throws IOException
IOControlinstance passed as a parameter to the method can be used to suspend input events if the entity is temporarily unable to allocate more storage to accommodate all incoming content.
decoder- content decoder.
ioctrl- I/O control of the underlying connection.
Copyright © 2005–2016 The Apache Software Foundation. All rights reserved.