code: public void addPromise(Http2PushPromise pushPromise) {
          promises.add(pushPromise);
          responseFuture.notifyPromiseAvailability();
          responseFuture.notifyPushPromise();
      }
docs: Adds a {@link Http2PushPromise} message.
  
  @param pushPromise push promise message