Package fr.sandro642.github.spring
Class Application
java.lang.Object
fr.sandro642.github.spring.Application
- All Implemented Interfaces:
org.springframework.web.reactive.config.WebFluxConfigurer
@SpringBootApplication
public class Application
extends Object
implements org.springframework.web.reactive.config.WebFluxConfigurer
Main application class for starting the Spring Boot application.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ApplicationGets the singleton instance of the Application class.reactor.core.publisher.Mono<Void>Starts the Spring Boot application in a non-blocking manner.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.web.reactive.config.WebFluxConfigurer
addCorsMappings, addFormatters, addResourceHandlers, configureArgumentResolvers, configureBlockingExecution, configureContentTypeResolver, configureHttpMessageCodecs, configurePathMatching, configureViewResolvers, getMessageCodesResolver, getValidator, getWebSocketService
-
Constructor Details
-
Application
public Application()
-
-
Method Details
-
startApplication
Starts the Spring Boot application in a non-blocking manner.- Returns:
- a Mono that completes when the application has started
-
getInstance
Gets the singleton instance of the Application class.- Returns:
- the singleton Application instance
-