Spring Boot, Java, Microservices, Data Compression, Programming.
a @SpringBootApplication class), you should register the filter. import org.springframework.boot.web.servlet.FilterRegistrationBean; import org.springframework.context.annotation.Bean; // ... Other annotations and class definition ... @Bean public FilterRegistrationBean<GzipRequestFilter>