## Uses of Class
org.springframework.web.accept.ContentNegotiationManager

- Packages that use ContentNegotiationManager
  Package | Description
  --- | ---
  org.springframework.test.web.servlet.client | Support for testing Spring MVC applications via `WebTestClient` with `MockMvc` for server request handling.
  org.springframework.test.web.servlet.setup | Contains built-in `MockMvcBuilder` implementations.
  org.springframework.web.accept | This package contains classes used to determine the requested the media types in a request.
  org.springframework.web.servlet.config.annotation | Annotation-based setup for Spring MVC.
  org.springframework.web.servlet.mvc.condition | Common MVC logic for matching incoming requests based on conditions.
  org.springframework.web.servlet.mvc.method | Servlet-based infrastructure for handler method processing, building on the `org.springframework.web.method` package.
  org.springframework.web.servlet.mvc.method.annotation | MVC infrastructure for annotation-based handler method processing, building on the `org.springframework.web.method.annotation` package.
  org.springframework.web.servlet.resource | Support classes for serving static resources.
  org.springframework.web.servlet.view | Provides standard View and ViewResolver implementations, including abstract base classes for custom implementations.

- - ### Uses of ContentNegotiationManager in org.springframework.test.web.servlet.client

    Methods in org.springframework.test.web.servlet.client with parameters of type ContentNegotiationManager
    Modifier and Type | Method and Description
    --- | ---
    `MockMvcWebTestClient.ControllerSpec` | MockMvcWebTestClient.ControllerSpec.`contentNegotiationManager(ContentNegotiationManager manager)` Set a ContentNegotiationManager.

  - ### Uses of ContentNegotiationManager in org.springframework.test.web.servlet.setup

    Methods in org.springframework.test.web.servlet.setup with parameters of type ContentNegotiationManager
    Modifier and Type | Method and Description
    --- | ---
    `StandaloneMockMvcBuilder` | StandaloneMockMvcBuilder.`setContentNegotiationManager(ContentNegotiationManager manager)` Set a ContentNegotiationManager.

  - ### Uses of ContentNegotiationManager in org.springframework.web.accept

    Methods in org.springframework.web.accept that return ContentNegotiationManager
    Modifier and Type | Method and Description
    --- | ---
    `ContentNegotiationManager` | ContentNegotiationManagerFactoryBean.`build()` Create and initialize a `ContentNegotiationManager` instance.
    `ContentNegotiationManager` | ContentNegotiationManagerFactoryBean.`getObject()`

  - ### Uses of ContentNegotiationManager in org.springframework.web.servlet.config.annotation

    Methods in org.springframework.web.servlet.config.annotation that return ContentNegotiationManager
    Modifier and Type | Method and Description
    --- | ---
    `protected ContentNegotiationManager` | ContentNegotiationConfigurer.`buildContentNegotiationManager()` Build a `ContentNegotiationManager` based on this configurer's settings.
    `ContentNegotiationManager` | WebMvcConfigurationSupport.`mvcContentNegotiationManager()` Return a `ContentNegotiationManager` instance to use to determine requested media types in a given request.

    Methods in org.springframework.web.servlet.config.annotation with parameters of type ContentNegotiationManager
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | WebMvcConfigurationSupport.`addDefaultHandlerExceptionResolvers(List<HandlerExceptionResolver> exceptionResolvers, ContentNegotiationManager mvcContentNegotiationManager)` A method available to subclasses for adding default `HandlerExceptionResolvers`.
    `HandlerExceptionResolver` | WebMvcConfigurationSupport.`handlerExceptionResolver(ContentNegotiationManager contentNegotiationManager)` Returns a `HandlerExceptionResolverComposite` containing a list of exception resolvers obtained either through `WebMvcConfigurationSupport.configureHandlerExceptionResolvers(java.util.List<org.springframework.web.servlet.HandlerExceptionResolver>)` or through `WebMvcConfigurationSupport.addDefaultHandlerExceptionResolvers(java.util.List<org.springframework.web.servlet.HandlerExceptionResolver>, org.springframework.web.accept.ContentNegotiationManager)`.
    `ViewResolver` | WebMvcConfigurationSupport.`mvcViewResolver(ContentNegotiationManager contentNegotiationManager)` Register a `ViewResolverComposite` that contains a chain of view resolvers to use for view resolution.
    `RequestMappingHandlerAdapter` | WebMvcConfigurationSupport.`requestMappingHandlerAdapter(ContentNegotiationManager contentNegotiationManager, FormattingConversionService conversionService, Validator validator)` Returns a `RequestMappingHandlerAdapter` for processing requests through annotated controller methods.
    `RequestMappingHandlerMapping` | WebMvcConfigurationSupport.`requestMappingHandlerMapping(ContentNegotiationManager contentNegotiationManager, FormattingConversionService conversionService, ResourceUrlProvider resourceUrlProvider)` Return a `RequestMappingHandlerMapping` ordered at 0 for mapping requests to annotated controllers.
    `HandlerMapping` | WebMvcConfigurationSupport.`resourceHandlerMapping(ContentNegotiationManager contentNegotiationManager, FormattingConversionService conversionService, ResourceUrlProvider resourceUrlProvider)` Return a handler mapping ordered at Integer.MAX_VALUE-1 with mapped resource handlers.

    Constructors in org.springframework.web.servlet.config.annotation with parameters of type ContentNegotiationManager
    Constructor and Description
    `ResourceHandlerRegistry(ApplicationContext applicationContext, ServletContext servletContext, ContentNegotiationManager contentNegotiationManager)` Create a new resource handler registry for the given application context.
    `ResourceHandlerRegistry(ApplicationContext applicationContext, ServletContext servletContext, ContentNegotiationManager contentNegotiationManager, UrlPathHelper pathHelper)` A variant of `ResourceHandlerRegistry(ApplicationContext, ServletContext, ContentNegotiationManager)` that also accepts the `UrlPathHelper` used for mapping requests to static resources.
    `ViewResolverRegistry(ContentNegotiationManager contentNegotiationManager, ApplicationContext context)` Class constructor with `ContentNegotiationManager` and `ApplicationContext`.

  - ### Uses of ContentNegotiationManager in org.springframework.web.servlet.mvc.condition

    Constructors in org.springframework.web.servlet.mvc.condition with parameters of type ContentNegotiationManager
    Constructor and Description
    `ProducesRequestCondition(String[] produces, String[] headers, ContentNegotiationManager manager)` Same as `ProducesRequestCondition(String[], String[])` but also accepting a `ContentNegotiationManager`.

  - ### Uses of ContentNegotiationManager in org.springframework.web.servlet.mvc.method

    Methods in org.springframework.web.servlet.mvc.method that return ContentNegotiationManager
    Modifier and Type | Method and Description
    --- | ---
    `ContentNegotiationManager` | RequestMappingInfo.BuilderConfiguration.`getContentNegotiationManager()` Return the ContentNegotiationManager to use for the ProducesRequestCondition, if any.

    Methods in org.springframework.web.servlet.mvc.method with parameters of type ContentNegotiationManager
    Modifier and Type | Method and Description
    --- | ---
    `void` | RequestMappingInfo.BuilderConfiguration.`setContentNegotiationManager(ContentNegotiationManager contentNegotiationManager)` Set the ContentNegotiationManager to use for the ProducesRequestCondition.

  - ### Uses of ContentNegotiationManager in org.springframework.web.servlet.mvc.method.annotation

    Methods in org.springframework.web.servlet.mvc.method.annotation that return ContentNegotiationManager
    Modifier and Type | Method and Description
    --- | ---
    `ContentNegotiationManager` | ExceptionHandlerExceptionResolver.`getContentNegotiationManager()` Return the configured `ContentNegotiationManager`.
    `ContentNegotiationManager` | RequestMappingHandlerMapping.`getContentNegotiationManager()` Return the configured `ContentNegotiationManager`.

    Methods in org.springframework.web.servlet.mvc.method.annotation with parameters of type ContentNegotiationManager
    Modifier and Type | Method and Description
    --- | ---
    `void` | ExceptionHandlerExceptionResolver.`setContentNegotiationManager(ContentNegotiationManager contentNegotiationManager)` Set the `ContentNegotiationManager` to use to determine requested media types.
    `void` | RequestMappingHandlerMapping.`setContentNegotiationManager(ContentNegotiationManager contentNegotiationManager)` Set the `ContentNegotiationManager` to use to determine requested media types.
    `void` | RequestMappingHandlerAdapter.`setContentNegotiationManager(ContentNegotiationManager contentNegotiationManager)` Set the `ContentNegotiationManager` to use to determine requested media types.

    Constructors in org.springframework.web.servlet.mvc.method.annotation with parameters of type ContentNegotiationManager
    Constructor and Description
    `AbstractMessageConverterMethodProcessor(List<HttpMessageConverter<?>> converters, ContentNegotiationManager contentNegotiationManager)` Constructor with list of converters and ContentNegotiationManager.
    `AbstractMessageConverterMethodProcessor(List<HttpMessageConverter<?>> converters, ContentNegotiationManager manager, List<Object> requestResponseBodyAdvice)` Constructor with list of converters and ContentNegotiationManager as well as request/response body advice instances.
    `HttpEntityMethodProcessor(List<HttpMessageConverter<?>> converters, ContentNegotiationManager manager)` Basic constructor with converters and `ContentNegotiationManager`.
    `HttpEntityMethodProcessor(List<HttpMessageConverter<?>> converters, ContentNegotiationManager manager, List<Object> requestResponseBodyAdvice)` Complete constructor for resolving `HttpEntity` and handling `ResponseEntity`.
    `RequestResponseBodyMethodProcessor(List<HttpMessageConverter<?>> converters, ContentNegotiationManager manager)` Basic constructor with converters and `ContentNegotiationManager`.
    `RequestResponseBodyMethodProcessor(List<HttpMessageConverter<?>> converters, ContentNegotiationManager manager, List<Object> requestResponseBodyAdvice)` Complete constructor for resolving `@RequestBody` and handling `@ResponseBody`.
    `ResponseBodyEmitterReturnValueHandler(List<HttpMessageConverter<?>> messageConverters, ReactiveAdapterRegistry registry, TaskExecutor executor, ContentNegotiationManager manager)` Complete constructor with pluggable "reactive" type support.

  - ### Uses of ContentNegotiationManager in org.springframework.web.servlet.resource

    Methods in org.springframework.web.servlet.resource that return ContentNegotiationManager
    Modifier and Type | Method and Description
    --- | ---
    `ContentNegotiationManager` | ResourceHttpRequestHandler.`getContentNegotiationManager()` Deprecated. as of 5.2.4

    Methods in org.springframework.web.servlet.resource with parameters of type ContentNegotiationManager
    Modifier and Type | Method and Description
    --- | ---
    `void` | ResourceHttpRequestHandler.`setContentNegotiationManager(ContentNegotiationManager contentNegotiationManager)` Deprecated. as of 5.2.4 in favor of using `ResourceHttpRequestHandler.setMediaTypes(Map)` with mappings possibly obtained from `getMediaTypeMappings()`.

  - ### Uses of ContentNegotiationManager in org.springframework.web.servlet.view

    Methods in org.springframework.web.servlet.view that return ContentNegotiationManager
    Modifier and Type | Method and Description
    --- | ---
    `ContentNegotiationManager` | ContentNegotiatingViewResolver.`getContentNegotiationManager()` Return the `ContentNegotiationManager` to use to determine requested media types.

    Methods in org.springframework.web.servlet.view with parameters of type ContentNegotiationManager
    Modifier and Type | Method and Description
    --- | ---
    `void` | ContentNegotiatingViewResolver.`setContentNegotiationManager(ContentNegotiationManager contentNegotiationManager)` Set the `ContentNegotiationManager` to use to determine requested media types.