![]() You can use to spell this out at the class level and the configuration is inherited for each subordinate handler method There are some attributes that are common to all the HTTP endpoints, like the root URI, and the default content-type of all responses produced. ![]() This is yet another stereotype annotation that tells Spring WebFlux that this class provides HTTP handler methods Profile ( "demo" ) (2) class SampleDataInitializer implements ApplicationListener Package import 4j2 import .event.ApplicationReadyEvent import import import import (1). 4.0.0 spring-boot-starter-parent 2.1.5.RELEASE com.example reactive-web 0.0.1-SNAPSHOT demo Demo project for Spring Boot 1.8 spring-boot-starter-data-mongodb-reactive spring-boot-starter-webflux de.flapdoodle.embed de. test spring-boot-devtools runtime org.projectlombok lombok true junit-jupiter-engine test spring-boot-starter-test test junit junit io.projectreactor reactor-test test spring-boot:run spring-boot-maven-plugin
0 Comments
Leave a Reply. |