Example usage for org.springframework.web.reactive.result.view ViewResolverSupport DEFAULT_CONTENT_TYPE

List of usage examples for org.springframework.web.reactive.result.view ViewResolverSupport DEFAULT_CONTENT_TYPE

Introduction

In this page you can find the example usage for org.springframework.web.reactive.result.view ViewResolverSupport DEFAULT_CONTENT_TYPE.

Prototype

MediaType DEFAULT_CONTENT_TYPE

To view the source code for org.springframework.web.reactive.result.view ViewResolverSupport DEFAULT_CONTENT_TYPE.

Click Source Link

Document

The default MediaType content-type for views.

Usage

From source file:org.springframework.web.reactive.result.view.AbstractView.java

public AbstractView(ReactiveAdapterRegistry registry) {
    this.mediaTypes.add(ViewResolverSupport.DEFAULT_CONTENT_TYPE);
    this.adapterRegistry = registry;
}