@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.
|
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.ServerResponse
public final org.springframework.http.HttpHeaders headers()
headers
in interface org.springframework.web.reactive.function.server.ServerResponse
public org.springframework.util.MultiValueMap<String,org.springframework.http.ResponseCookie> cookies()
cookies
in interface org.springframework.web.reactive.function.server.ServerResponse
public 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.ServerResponse
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.