code: @Handler
      public void onInput(Input<ByteBuffer> event, Channel channel) {
          Writer writer = inputWriters.get(channel);
          if (writer != null) {
              writer.write(event.buffer());
          }
      }
docs: Handle input by writing it to the file, if a channel exists.
  
  @param event the event
  @param channel the channel