protected void configureMessageConverter ( ApplicationContext context ) { if ( context . containsBean ( MESSAGE_CONVERTER_BEAN_NAME ) ) { HttpMessageConverter messageConverter = context . getBean ( MESSAGE_CONVERTER_BEAN_NAME , HttpMessageConverter . class ) ; if ( messageConverter instanceof DelegatingHttpEntityMessageConverter ) { ( ( DelegatingHttpEntityMessageConverter ) messageConverter ) . setBinaryMediaTypes ( httpServer . getBinaryMediaTypes ( ) ) ; } } }
Post process message converter .