Class GeoJsonWebFluxConfigurer
java.lang.Object
org.bremersee.geojson.spring.boot.autoconfigure.web.GeoJsonWebFluxConfigurer
- All Implemented Interfaces:
org.springframework.web.reactive.config.WebFluxConfigurer
@ConditionalOnClass(name="org.bremersee.geojson.converter.GeometryConverters")
@ConditionalOnWebApplication(type=REACTIVE)
@AutoConfiguration
@AutoConfigureAfter(GeoJsonGeometryFactoryAutoConfiguration.class)
public class GeoJsonWebFluxConfigurer
extends Object
implements org.springframework.web.reactive.config.WebFluxConfigurer
The GeoJSON web flux configurer.
- Author:
- Christian Bremer
-
Constructor Summary
ConstructorsConstructorDescriptionGeoJsonWebFluxConfigurer(org.springframework.beans.factory.ObjectProvider<org.bremersee.geojson.GeoJsonGeometryFactory> geometryFactory) Instantiates a new GeoJSON web flux configurer. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddFormatters(org.springframework.format.FormatterRegistry registry) voidinit()Init.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, addErrorResponseInterceptors, addResourceHandlers, configureArgumentResolvers, configureBlockingExecution, configureContentTypeResolver, configureHttpMessageCodecs, configurePathMatching, configureViewResolvers, getMessageCodesResolver, getValidator, getWebSocketService
-
Constructor Details
-
GeoJsonWebFluxConfigurer
public GeoJsonWebFluxConfigurer(org.springframework.beans.factory.ObjectProvider<org.bremersee.geojson.GeoJsonGeometryFactory> geometryFactory) Instantiates a new GeoJSON web flux configurer.- Parameters:
geometryFactory- the geometry factory
-
-
Method Details
-
init
@EventListener(org.springframework.boot.context.event.ApplicationReadyEvent.class) public void init()Init. -
addFormatters
public void addFormatters(@NonNull org.springframework.format.FormatterRegistry registry) - Specified by:
addFormattersin interfaceorg.springframework.web.reactive.config.WebFluxConfigurer
-