public RestHandlerExceptionResolverBuilder defaultContentType ( String mediaType ) { defaultContentType ( hasText ( mediaType ) ? MediaType . parseMediaType ( mediaType ) : null ) ; return this ; }
The default content type that will be used as a fallback when the requested content type is not supported .