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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets 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, wait

    Methods 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

      public reactor.core.publisher.Mono<Void> startApplication()
      Starts the Spring Boot application in a non-blocking manner.
      Returns:
      a Mono that completes when the application has started
    • getInstance

      public static Application getInstance()
      Gets the singleton instance of the Application class.
      Returns:
      the singleton Application instance