@Deprecated public class HttpMessageWriterResponse extends Object implements org.springframework.http.server.reactive.ServerHttpResponse
| Constructor and Description |
|---|
HttpMessageWriterResponse(org.springframework.core.io.buffer.DataBufferFactory dataBufferFactory)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addCookie(org.springframework.http.ResponseCookie cookie)
Deprecated.
|
void |
beforeCommit(Supplier<? extends reactor.core.publisher.Mono<Void>> action)
Deprecated.
|
org.springframework.core.io.buffer.DataBufferFactory |
bufferFactory()
Deprecated.
|
org.reactivestreams.Publisher<? extends org.springframework.core.io.buffer.DataBuffer> |
getBody()
Deprecated.
|
org.springframework.util.MultiValueMap<String,org.springframework.http.ResponseCookie> |
getCookies()
Deprecated.
|
org.springframework.http.HttpHeaders |
getHeaders()
Deprecated.
|
org.springframework.http.HttpStatus |
getStatusCode()
Deprecated.
|
boolean |
isCommitted()
Deprecated.
|
reactor.core.publisher.Mono<Void> |
setComplete()
Deprecated.
|
boolean |
setStatusCode(org.springframework.http.HttpStatus status)
Deprecated.
|
reactor.core.publisher.Mono<Void> |
writeAndFlushWith(org.reactivestreams.Publisher<? extends org.reactivestreams.Publisher<? extends org.springframework.core.io.buffer.DataBuffer>> body)
Deprecated.
|
reactor.core.publisher.Mono<Void> |
writeWith(org.reactivestreams.Publisher<? extends org.springframework.core.io.buffer.DataBuffer> body)
Deprecated.
|
public HttpMessageWriterResponse(org.springframework.core.io.buffer.DataBufferFactory dataBufferFactory)
public org.springframework.http.HttpHeaders getHeaders()
getHeaders in interface org.springframework.http.HttpMessagepublic reactor.core.publisher.Mono<Void> writeWith(org.reactivestreams.Publisher<? extends org.springframework.core.io.buffer.DataBuffer> body)
writeWith in interface org.springframework.http.ReactiveHttpOutputMessagepublic reactor.core.publisher.Mono<Void> writeAndFlushWith(org.reactivestreams.Publisher<? extends org.reactivestreams.Publisher<? extends org.springframework.core.io.buffer.DataBuffer>> body)
writeAndFlushWith in interface org.springframework.http.ReactiveHttpOutputMessagepublic org.reactivestreams.Publisher<? extends org.springframework.core.io.buffer.DataBuffer> getBody()
public boolean setStatusCode(org.springframework.http.HttpStatus status)
setStatusCode in interface org.springframework.http.server.reactive.ServerHttpResponsepublic org.springframework.http.HttpStatus getStatusCode()
getStatusCode in interface org.springframework.http.server.reactive.ServerHttpResponsepublic org.springframework.util.MultiValueMap<String,org.springframework.http.ResponseCookie> getCookies()
getCookies in interface org.springframework.http.server.reactive.ServerHttpResponsepublic void addCookie(org.springframework.http.ResponseCookie cookie)
addCookie in interface org.springframework.http.server.reactive.ServerHttpResponsepublic org.springframework.core.io.buffer.DataBufferFactory bufferFactory()
bufferFactory in interface org.springframework.http.ReactiveHttpOutputMessagepublic void beforeCommit(Supplier<? extends reactor.core.publisher.Mono<Void>> action)
beforeCommit in interface org.springframework.http.ReactiveHttpOutputMessagepublic boolean isCommitted()
isCommitted in interface org.springframework.http.ReactiveHttpOutputMessagepublic reactor.core.publisher.Mono<Void> setComplete()
setComplete in interface org.springframework.http.ReactiveHttpOutputMessageCopyright © 2021 Pivotal Software, Inc.. All rights reserved.