code: public OptionalThing<ResponseHook> getAfterTxCommitHook() {
          return OptionalThing.ofNullable(afterTxCommitHook, () -> {
              String msg = "Not found the response hook: " + StreamResponse.this.toString();
              throw new IllegalStateException(msg);
          });
      }
docs: -------------