@Deprecated public class DefaultServerResponse<T> extends Object implements org.springframework.web.reactive.function.server.ServerResponse
| Modifier and Type | Class and Description |
|---|---|
static class |
DefaultServerResponse.HandlerStrategiesResponseContext
Deprecated.
|
org.springframework.web.reactive.function.server.ServerResponse.BodyBuilder, org.springframework.web.reactive.function.server.ServerResponse.Context, org.springframework.web.reactive.function.server.ServerResponse.HeadersBuilder<B extends org.springframework.web.reactive.function.server.ServerResponse.HeadersBuilder<B>>| Constructor and Description |
|---|
DefaultServerResponse(org.springframework.web.server.ServerWebExchange exchange,
org.springframework.web.reactive.function.BodyInserter<T,? super org.springframework.http.server.reactive.ServerHttpResponse> body,
Map<String,Object> hints)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
org.springframework.util.MultiValueMap<String,org.springframework.http.ResponseCookie> |
cookies()
Deprecated.
|
org.springframework.http.HttpHeaders |
headers()
Deprecated.
|
int |
rawStatusCode()
Deprecated.
|
org.springframework.http.HttpStatus |
statusCode()
Deprecated.
|
reactor.core.publisher.Mono<Void> |
writeTo(org.springframework.web.server.ServerWebExchange exchange,
org.springframework.web.reactive.function.server.ServerResponse.Context context)
Deprecated.
|
public final org.springframework.http.HttpStatus statusCode()
statusCode in interface org.springframework.web.reactive.function.server.ServerResponsepublic int rawStatusCode()
rawStatusCode in interface org.springframework.web.reactive.function.server.ServerResponsepublic final org.springframework.http.HttpHeaders headers()
headers in interface org.springframework.web.reactive.function.server.ServerResponsepublic org.springframework.util.MultiValueMap<String,org.springframework.http.ResponseCookie> cookies()
cookies in interface org.springframework.web.reactive.function.server.ServerResponsepublic final reactor.core.publisher.Mono<Void> writeTo(org.springframework.web.server.ServerWebExchange exchange, org.springframework.web.reactive.function.server.ServerResponse.Context context)
writeTo in interface org.springframework.web.reactive.function.server.ServerResponseCopyright © 2020 Pivotal Software, Inc.. All rights reserved.