Java org.springframework.web.servlet.view ContentNegotiatingViewResolver fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.web.servlet.view ContentNegotiatingViewResolver fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.web.servlet.view ContentNegotiatingViewResolver.

The text is from its open source code.

Subclass

org.springframework.web.servlet.view.ContentNegotiatingViewResolver has subclasses.
Click this link to see all its subclasses.

Constructor

Method

voidsetContentNegotiationManager(@Nullable ContentNegotiationManager contentNegotiationManager)
Set the ContentNegotiationManager to use to determine requested media types.
voidsetDefaultViews(List defaultViews)
Set the default views to use when a more specific view can not be obtained from the ViewResolver chain.
voidsetOrder(int order)
voidsetUseNotAcceptableStatusCode(boolean useNotAcceptableStatusCode)
Indicate whether a HttpServletResponse#SC_NOT_ACCEPTABLE 406 Not Acceptable status code should be returned if no suitable view can be found.
voidsetViewResolvers(List viewResolvers)
Sets the view resolvers to be wrapped by this view resolver.