vertx/src/main/java/eu/internetofus/common/vertx/ComponentClient.java
/**
   * Create the handler to manage when the request failed.
   *
   * @param promise  to inform of the model.
   * @param actionId identifier of the HTTP requests.
   *
   * @param <T>      type of content that has try to send.
   *
   * @return the extractor to obtain the array from the response.
   */
Create the handler to manage when the request failed.
@param promise  to inform of the model.
@param actionId identifier of the HTTP requests.

@param       type of content that has try to send.

@return the extractor to obtain the array from the response.
Create the handler to manage when the request failed . @param promise to inform of the model . @param actionId identifier of the HTTP requests . @param type of content that has try to send . @return the extractor to obtain the array from the response .
protected <T> Handler<Throwable> createRequestFailureHandler(final Promise<T> promise, final String actionId) {
    return cause -> {
      Logger.trace(cause, "{} FAILED to be executed", actionId);
      promise.fail(cause);
    };
  }
protected < T > Handler < Throwable > createRequestFailureHandler ( final Promise < T > promise , final String actionId ) { return cause -> { Logger . trace ( cause , "{} FAILED to be executed" , actionId ) ; promise . fail ( cause ) ; } ; }
Create the handler to manage when the request failed.
Create the handler to manage when the request failed .