java.lang.Object | ||
↳ | org.apache.http.entity.HttpEntityWrapper | |
↳ | org.apache.http.nio.entity.NHttpEntityWrapper |
ProducingNHttpEntity
compatibility adaptor for blocking HTTP
entities.
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.apache.http.entity.HttpEntityWrapper
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
This method is equivalent to the
finish() method. | |||||||||||
Notification that any resources allocated for writing can be released.
| |||||||||||
This method throws UnsupportedOperationException.
| |||||||||||
Notification that content should be written to the encoder.
| |||||||||||
This method throws
UnsupportedOperationException . |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.apache.http.entity.HttpEntityWrapper
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
org.apache.http.HttpEntity
| |||||||||||
From interface
org.apache.http.nio.entity.ProducingNHttpEntity
|
This method is equivalent to the finish()
method.
TODO: The name of this method is misnomer. It will be renamed to
#finish() in the next major release.
IOException |
---|
Notification that any resources allocated for writing can be released.
Notification that content should be written to the encoder.
IOControl
instance 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 complete()
.
Failure to do so could result in the entity never being written.
encoder | content encoder. |
---|---|
ioctrl | I/O control of the underlying connection. |
IOException |
---|