components/src/test/java/eu/internetofus/common/components/service/WeNetServiceSimulatorMocker.java
/**
   * Create the handler to retrieve an application.
   *
   * @return the handler to get an application.
   */
Create the handler to retrieve an application.
@return the handler to get an application.
Create the handler to retrieve an application . @return the handler to get an application .
protected DataElementHandler createGetAppHandler() {
    return (ctx, index) -> {
      final var response = ctx.response();
      response.setStatusCode(Status.OK.getStatusCode());
      response.end(this.data.get(index).app.toBuffer());
    };
  }
protected DataElementHandler createGetAppHandler ( ) { return ( ctx , index ) -> { final var response = ctx . response ( ) ; response . setStatusCode ( Status . OK . getStatusCode ( ) ) ; response . end ( this . data . get ( index ) . app . toBuffer ( ) ) ; } ; }
Create the handler to retrieve an application.
Create the handler to retrieve an application .