Package org.apache.http.nio.entity
Class SkipContentListener
java.lang.Object
org.apache.http.nio.entity.SkipContentListener
- All Implemented Interfaces:
ContentListener
Deprecated.
(4.2)
A simple
ContentListener that reads and ignores all content.- Since:
- 4.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcontentAvailable(ContentDecoder decoder, IOControl ioctrl) Deprecated.Notification that content is available to be read from the decoder.voidfinished()Deprecated.Notification that any resources allocated for reading can be released.
-
Constructor Details
-
SkipContentListener
Deprecated.
-
-
Method Details
-
contentAvailable
Deprecated.Description copied from interface:ContentListenerNotification that content is available to be read from the decoder.- Specified by:
contentAvailablein interfaceContentListener- Parameters:
decoder- content decoder.ioctrl- I/O control of the underlying connection.- Throws:
IOException
-
finished
public void finished()Deprecated.Description copied from interface:ContentListenerNotification that any resources allocated for reading can be released.- Specified by:
finishedin interfaceContentListener
-