List of usage examples for org.springframework.web.accept ContentNegotiationManager ContentNegotiationManager
public ContentNegotiationManager()
From source file:cz.jirutka.spring.exhandler.RestHandlerExceptionResolver.java
public void setContentNegotiationManager(ContentNegotiationManager contentNegotiationManager) { this.contentNegotiationManager = contentNegotiationManager != null ? contentNegotiationManager : new ContentNegotiationManager(); }
From source file:org.springframework.web.servlet.mvc.method.annotation.ReactiveTypeHandler.java
public ReactiveTypeHandler() { this(ReactiveAdapterRegistry.getSharedInstance(), new SyncTaskExecutor(), new ContentNegotiationManager()); }