Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.http.nio.entity
Interface ContentListener

All Known Implementing Classes:
  SkipContentListener

Deprecated. (4.2)

    @Deprecated
    public interface ContentListener

A listener for available data on a non-blocking `ConsumingNHttpEntity`.

Since:
  4.0

Method Summary
`void` | `contentAvailable(ContentDecoder decoder, IOControl ioControl)` Deprecated. Notification that content is available to be read from the decoder.
`void` | `finished()` Deprecated. Notification that any resources allocated for reading can be released.

Method Detail

### contentAvailable

    void contentAvailable(ContentDecoder decoder,
                          IOControl ioControl)
                          throws IOException

  Deprecated.
  Notification that content is available to be read from the decoder.

  Parameters:
    `decoder` - content decoder.
    `ioControl` - I/O control of the underlying connection.
  Throws:
    `IOException`

### finished

    void finished()

  Deprecated.
  Notification that any resources allocated for reading can be released.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.