public void addPartConverter ( HttpMessageConverter partConverter ) { checkNotNull ( partConverters , "'partConverters' must not be null" ) ; checkArgument ( ! partConverters . isEmpty ( ) , "'partConverters' must not be empty" ) ; this . partConverters . add ( partConverter ) ; }
Add a message body converter . Such a converter is used to convert objects to MIME parts .