//package vip.xiaonuo.core.converter;
//
//import com.fasterxml.jackson.databind.ObjectMapper;
//import org.springframework.http.MediaType;
//import org.springframework.http.converter.json.AbstractJackson2HttpMessageConverter;
//import org.springframework.stereotype.Component;
//
//import javax.sound.sampled.BooleanControl;
//
//@Component
//public class MultipartJackson2HttpMessageConverter extends AbstractJackson2HttpMessageConverter {
//    protected MultipartJackson2HttpMessageConverter(ObjectMapper objectMapper) {
//        super(objectMapper, MediaType.APPLICATION_OCTET_STREAM);
//    }
//
//    @Override
//    public boolean canWrite(Class<?> clazz, MediaType mediaType){
//        return false;
//    }
//}
