Interface ResourceByProducer.ContentProducer

Enclosing class:
ResourceByProducer
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

Must be implemented by a content producer.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Fire output events on the given channel.
  • Method Details

    • produce

      void produce(IOSubchannel channel) throws IOException
      Fire output events on the given channel.
      Parameters:
      channel - the channel
      Throws:
      IOException - Signals that an I/O exception has occurred.