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

com.arextest.web.api.service.beans.ConverterConfiguration Maven / Gradle / Ivy

There is a newer version: 0.7.0.1
Show newest version
package com.arextest.web.api.service.beans;

import com.arextest.web.api.service.converter.ZstdJacksonMessageConverter;
import javax.annotation.Resource;
import org.springframework.boot.autoconfigure.http.HttpMessageConverters;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class ConverterConfiguration {

  @Resource
  private ZstdJacksonMessageConverter zstdJacksonMessageConverter;

  @Bean
  public HttpMessageConverters customConverters() {
    return new HttpMessageConverters(zstdJacksonMessageConverter);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy