components/src/test/java/eu/internetofus/common/components/service/WeNetServiceSimulatorMocker.java
/**
   * Create the handler to delete all the callbacks.
   *
   * @return the handler to delete all the callbacks.
   */
Create the handler to delete all the callbacks.
@return the handler to delete all the callbacks.
Create the handler to delete all the callbacks . @return the handler to delete all the callbacks .
protected DataElementHandler createDeleteCallbacksHandler() {
    return (ctx, index) -> {
      final var app = this.data.get(index);
      app.callbacks = new JsonArray();
      final var response = ctx.response();
      response.setStatusCode(Status.NO_CONTENT.getStatusCode());
      response.end();
    };
  }
protected DataElementHandler createDeleteCallbacksHandler ( ) { return ( ctx , index ) -> { final var app = this . data . get ( index ) ; app . callbacks = new JsonArray ( ) ; final var response = ctx . response ( ) ; response . setStatusCode ( Status . NO_CONTENT . getStatusCode ( ) ) ; response . end ( ) ; } ; }
Create the handler to delete all the callbacks.
Create the handler to delete all the callbacks .