ReactiveAdapterRegistry mechanism.@Deprecated
public interface ResponseBodyEmitterAdapter
ResponseBodyEmitter.| Modifier and Type | Method and Description |
|---|---|
ResponseBodyEmitter |
adaptToEmitter(java.lang.Object returnValue,
ServerHttpResponse response)
Deprecated.
Obtain a
ResponseBodyEmitter for the given return value. |
ResponseBodyEmitter adaptToEmitter(java.lang.Object returnValue, ServerHttpResponse response)
ResponseBodyEmitter for the given return value.
If the return is the body ResponseEntity then the given
ServerHttpResponse contains its status and headers.returnValue - the return value (never null)response - the responseResponseBodyEmitter