code: public Entry<ChannelFuture, ChannelPromise> put(int streamId, ChannelFuture writeFuture, ChannelPromise promise) {
          return streamidPromiseMap.put(streamId, new SimpleEntry<ChannelFuture, ChannelPromise>(writeFuture, promise));
      }
docs: Create an association between an anticipated response stream id and a {@link io.netty.channel.ChannelPromise}
  
  @param streamId The stream for which a response is expected
  @param writeFuture A future that represent the request write operation
  @param promise The promise object that will be used to wait/notify events
  @return The previous object associated with {@code streamId}
  @see HttpResponseHandler#awaitResponses(long, java.util.concurrent.TimeUnit)