com.infusers.core.config.InfusersWebConfig Maven / Gradle / Ivy
package com.infusers.core.config;
import org.springframework.context.annotation.Configuration;
import org.springframework.http.MediaType;
import org.springframework.web.servlet.config.annotation.ContentNegotiationConfigurer;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
@Configuration
public class InfusersWebConfig implements WebMvcConfigurer {
/*@Override
public void configureContentNegotiation(ContentNegotiationConfigurer configurer) {
configurer.defaultContentType(MediaType.APPLICATION_JSON);
configurer.mediaType("png", MediaType.IMAGE_PNG);
configurer.mediaType("jpeg", MediaType.IMAGE_JPEG);
configurer.mediaType("multipart/form-data", MediaType.MULTIPART_FORM_DATA);
}*/
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy