vertx/src/main/java/eu/internetofus/common/vertx/ServiceResponseHandlers.java
/**
   * Handle with a successful empty content.
   *
   * @param resultHandler handler that will manage the response.
   */
Handle with a successful empty content.
@param resultHandler handler that will manage the response.
Handle with a successful empty content . @param resultHandler handler that will manage the response .
static void responseOk(final Handler<AsyncResult<ServiceResponse>> resultHandler) {
    resultHandler.handle(Future.succeededFuture(new ServiceResponse().setStatusCode(Status.NO_CONTENT.getStatusCode())
        .putHeader(HttpHeaders.CONTENT_TYPE.toString(), MediaType.APPLICATION_JSON)));
  }
static void responseOk ( final Handler < AsyncResult < ServiceResponse > > resultHandler ) { resultHandler . handle ( Future . succeededFuture ( new ServiceResponse ( ) . setStatusCode ( Status . NO_CONTENT . getStatusCode ( ) ) . putHeader ( HttpHeaders . CONTENT_TYPE . toString ( ) , MediaType . APPLICATION_JSON ) ) ) ; }
Handle with a successful empty content.
Handle with a successful empty content .