Klasse StreamCopyConsumer

Alle implementierten Schnittstellen:
Consumer<HttpConnection>

public class StreamCopyConsumer extends MetaDataConsumer implements Consumer<HttpConnection>
Copies a stream to one or multiple disk files.
Autor:
Stephan Fuhrmann
  • Konstruktordetails

    • StreamCopyConsumer

      public StreamCopyConsumer(ConsumerContext consumerContext)
      Constructor.
      Parameter:
      consumerContext - the context to work in.
  • Methodendetails

    • __accept

      protected void __accept(HttpConnection t, InputStream inputStream)
      Beschreibung aus Klasse kopiert: MetaDataConsumer
      The accept method to overwrite by implementing classes.
      Angegeben von:
      __accept in Klasse MetaDataConsumer
      Parameter:
      t - the http connection being processed.
      inputStream - the input stream that is processed.