All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.zodiac.autoconfigure.web.ReactivePlatformConverterAutoConfiguration Maven / Gradle / Ivy

There is a newer version: 1.6.8
Show newest version
package org.zodiac.autoconfigure.web;

import org.springframework.boot.SpringBootConfiguration;
import org.springframework.boot.autoconfigure.condition.ConditionalOnWebApplication;
import org.springframework.boot.autoconfigure.condition.ConditionalOnWebApplication.Type;
import org.springframework.format.FormatterRegistry;
import org.springframework.web.reactive.config.WebFluxConfigurer;

/**
 * Platform enum 《-》 String 转换配置。
 *
 */
@SpringBootConfiguration
@ConditionalOnWebApplication(type = Type.REACTIVE)
public class ReactivePlatformConverterAutoConfiguration extends AbstractPlatformConverterConfiguration implements WebFluxConfigurer {

    @Override
    public void addFormatters(FormatterRegistry registry) {
        this.registryFormatters(registry);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy