Class GeoJsonWebMvcConfigurer

java.lang.Object
org.bremersee.geojson.spring.boot.autoconfigure.web.GeoJsonWebMvcConfigurer
All Implemented Interfaces:
org.springframework.web.servlet.config.annotation.WebMvcConfigurer

@ConditionalOnClass(name="org.bremersee.geojson.converter.GeometryConverters") @ConditionalOnWebApplication(type=SERVLET) @AutoConfiguration @AutoConfigureAfter(GeoJsonGeometryFactoryAutoConfiguration.class) public class GeoJsonWebMvcConfigurer extends Object implements org.springframework.web.servlet.config.annotation.WebMvcConfigurer
The GeoJSON web mvc configurer.
Author:
Christian Bremer
  • Constructor Summary

    Constructors
    Constructor
    Description
    GeoJsonWebMvcConfigurer(org.springframework.beans.factory.ObjectProvider<GeoJsonGeometryFactory> geometryFactory)
    Instantiates a new GeoJSON web mvc configurer.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addFormatters(org.springframework.format.FormatterRegistry registry)
     
    void
    Init.

    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.servlet.config.annotation.WebMvcConfigurer

    addArgumentResolvers, addCorsMappings, addErrorResponseInterceptors, addInterceptors, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidator
  • Constructor Details

    • GeoJsonWebMvcConfigurer

      public GeoJsonWebMvcConfigurer(org.springframework.beans.factory.ObjectProvider<GeoJsonGeometryFactory> geometryFactory)
      Instantiates a new GeoJSON web mvc 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:
      addFormatters in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer