public CompletionStage < ResponseBuilder > updateMemento ( final ResponseBuilder builder ) { return getServices ( ) . getMementoService ( ) . put ( getServices ( ) . getResourceService ( ) , getInternalId ( ) ) . exceptionally ( ex -> { LOGGER . warn ( "Unable to store memento for {}: {}" , getInternalId ( ) , ex . getMessage ( ) ) ; return null ; } ) . thenApply ( stage -> builder ) ; }
Update the memento resource .