ContentNegotiationConfigurer function ( MediaType arg0 ) { this . factoryBean . setDefaultContentType ( arg0 ) ; return this ; }
set the default content type to use when no content type was requested . note that internally this method creates and adds a org.springframework.web.accept.fixedcontentnegotiationstrategy fixedcontentnegotiationstrategy . alternatively you can also provide a custom strategy via #defaultcontenttypestrategy . concode_field_sep ContentNegotiationManagerFactoryBean factoryBean concode_elem_sep Map<String,MediaType> mediaTypes concode_field_sep ContentNegotiationConfigurer ignoreAcceptHeader concode_elem_sep ContentNegotiationConfigurer mediaTypes concode_elem_sep ContentNegotiationConfigurer useJaf concode_elem_sep ContentNegotiationConfigurer ignoreUnknownPathExtensions concode_elem_sep ContentNegotiationConfigurer favorPathExtension concode_elem_sep ContentNegotiationConfigurer replaceMediaTypes concode_elem_sep ContentNegotiationConfigurer defaultContentTypeStrategy concode_elem_sep ContentNegotiationManager getContentNegotiationManager concode_elem_sep ContentNegotiationConfigurer mediaType concode_elem_sep ContentNegotiationConfigurer parameterName concode_elem_sep ContentNegotiationConfigurer favorParameter concode_elem_sep ContentNegotiationConfigurer defaultContentType