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