org.springframework.web.reactive.result.method.annotation

Class AbstractMessageWriterResultHandler

    • Constructor Detail

      • AbstractMessageWriterResultHandler

        protected AbstractMessageWriterResultHandler(java.util.List<HttpMessageWriter<?>> messageWriters,
                                                     RequestedContentTypeResolver contentTypeResolver)
        Constructor with HttpMessageWriters and a RequestedContentTypeResolver.
        Parameters:
        messageWriters - for serializing Objects to the response body stream
        contentTypeResolver - for resolving the requested content type
      • AbstractMessageWriterResultHandler

        protected AbstractMessageWriterResultHandler(java.util.List<HttpMessageWriter<?>> messageWriters,
                                                     RequestedContentTypeResolver contentTypeResolver,
                                                     ReactiveAdapterRegistry adapterRegistry)
        Constructor with an additional ReactiveAdapterRegistry.
        Parameters:
        messageWriters - for serializing Objects to the response body stream
        contentTypeResolver - for resolving the requested content type
        adapterRegistry - for adapting other reactive types (e.g. rx.Observable, rx.Single, etc.) to Flux or Mono