question: protected String extractMimeTypeFromMethod ( Method method ) { RequestMapping requestMapping = getRequestMapping ( method ) ; if ( requestMapping != null ) { if ( requestMapping . produces ( ) != null && requestMapping . produces ( ) . length > 0 ) { if ( requestMapping . produces ( ) . length > 1 ) { logger . warn ( "Method " + method . getName ( ) + " is annotated with multiple Produces entries." ) ; } return requestMapping . produces ( ) [ 0 ] ; } } return super . extractMimeTypeFromMethod ( method ) ; }
target:  Check for produces annotation first. else use super implementation