@ Override public void preparePaint ( final Request request ) { Headers headers = this . getUI ( ) . getHeaders ( ) ; headers . reset ( ) ; headers . setContentType ( WebUtilities . CONTENT_TYPE_XML ) ; super . preparePaint ( request ) ; }
Override preparePaint in order to prepare the headers .