List of usage examples for org.springframework.boot WebApplicationType REACTIVE
WebApplicationType REACTIVE
To view the source code for org.springframework.boot WebApplicationType REACTIVE.
Click Source Link
From source file:org.springframework.cloud.function.web.function.FunctionEndpointInitializer.java
@Override public void initialize(GenericApplicationContext context) { if (ContextFunctionCatalogInitializer.enabled && context.getEnvironment().getProperty(FunctionalSpringApplication.SPRING_WEB_APPLICATION_TYPE, WebApplicationType.class, WebApplicationType.REACTIVE) == WebApplicationType.REACTIVE && context.getEnvironment().getProperty("spring.functional.enabled", Boolean.class, false) && ClassUtils.isPresent("org.springframework.http.server.reactive.HttpHandler", null)) { registerEndpoint(context);//from ww w . j a v a2 s .c om registerWebFluxAutoConfiguration(context); } }