@Deprecated public class DefaultServerRequest extends Object implements org.springframework.web.reactive.function.server.ServerRequest
ServerRequest implementation based on a ServerWebExchange.| Constructor and Description |
|---|
DefaultServerRequest(org.springframework.web.server.ServerWebExchange exchange)
Deprecated.
|
DefaultServerRequest(org.springframework.web.server.ServerWebExchange exchange,
List<org.springframework.http.codec.HttpMessageReader<?>> messageReaders)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
attributes()
Deprecated.
|
<T> T |
body(org.springframework.web.reactive.function.BodyExtractor<T,? super org.springframework.http.server.reactive.ServerHttpRequest> extractor)
Deprecated.
|
<T> T |
body(org.springframework.web.reactive.function.BodyExtractor<T,? super org.springframework.http.server.reactive.ServerHttpRequest> extractor,
Map<String,Object> hints)
Deprecated.
|
<T> reactor.core.publisher.Flux<T> |
bodyToFlux(Class<? extends T> elementClass)
Deprecated.
|
<T> reactor.core.publisher.Flux<T> |
bodyToFlux(org.springframework.core.ParameterizedTypeReference<T> typeReference)
Deprecated.
|
<T> reactor.core.publisher.Mono<T> |
bodyToMono(Class<? extends T> elementClass)
Deprecated.
|
<T> reactor.core.publisher.Mono<T> |
bodyToMono(org.springframework.core.ParameterizedTypeReference<T> typeReference)
Deprecated.
|
org.springframework.util.MultiValueMap<String,org.springframework.http.HttpCookie> |
cookies()
Deprecated.
|
org.springframework.web.server.ServerWebExchange |
exchange()
Deprecated.
|
reactor.core.publisher.Mono<org.springframework.util.MultiValueMap<String,String>> |
formData()
Deprecated.
|
org.springframework.web.reactive.function.server.ServerRequest.Headers |
headers()
Deprecated.
|
Optional<InetSocketAddress> |
localAddress()
Deprecated.
|
List<org.springframework.http.codec.HttpMessageReader<?>> |
messageReaders()
Deprecated.
|
String |
methodName()
Deprecated.
|
reactor.core.publisher.Mono<org.springframework.util.MultiValueMap<String,org.springframework.http.codec.multipart.Part>> |
multipartData()
Deprecated.
|
org.springframework.http.server.PathContainer |
pathContainer()
Deprecated.
|
Map<String,String> |
pathVariables()
Deprecated.
|
reactor.core.publisher.Mono<? extends Principal> |
principal()
Deprecated.
|
org.springframework.util.MultiValueMap<String,String> |
queryParams()
Deprecated.
|
Optional<InetSocketAddress> |
remoteAddress()
Deprecated.
|
reactor.core.publisher.Mono<org.springframework.web.server.WebSession> |
session()
Deprecated.
|
String |
toString()
Deprecated.
|
URI |
uri()
Deprecated.
|
org.springframework.web.util.UriBuilder |
uriBuilder()
Deprecated.
|
public DefaultServerRequest(org.springframework.web.server.ServerWebExchange exchange)
public DefaultServerRequest(org.springframework.web.server.ServerWebExchange exchange,
List<org.springframework.http.codec.HttpMessageReader<?>> messageReaders)
public String methodName()
methodName in interface org.springframework.web.reactive.function.server.ServerRequestpublic URI uri()
uri in interface org.springframework.web.reactive.function.server.ServerRequestpublic org.springframework.web.util.UriBuilder uriBuilder()
uriBuilder in interface org.springframework.web.reactive.function.server.ServerRequestpublic org.springframework.http.server.PathContainer pathContainer()
pathContainer in interface org.springframework.web.reactive.function.server.ServerRequestpublic org.springframework.web.reactive.function.server.ServerRequest.Headers headers()
headers in interface org.springframework.web.reactive.function.server.ServerRequestpublic org.springframework.util.MultiValueMap<String,org.springframework.http.HttpCookie> cookies()
cookies in interface org.springframework.web.reactive.function.server.ServerRequestpublic <T> T body(org.springframework.web.reactive.function.BodyExtractor<T,? super org.springframework.http.server.reactive.ServerHttpRequest> extractor)
body in interface org.springframework.web.reactive.function.server.ServerRequestpublic Optional<InetSocketAddress> remoteAddress()
remoteAddress in interface org.springframework.web.reactive.function.server.ServerRequestpublic Optional<InetSocketAddress> localAddress()
localAddress in interface org.springframework.web.reactive.function.server.ServerRequestpublic List<org.springframework.http.codec.HttpMessageReader<?>> messageReaders()
messageReaders in interface org.springframework.web.reactive.function.server.ServerRequestpublic <T> T body(org.springframework.web.reactive.function.BodyExtractor<T,? super org.springframework.http.server.reactive.ServerHttpRequest> extractor,
Map<String,Object> hints)
body in interface org.springframework.web.reactive.function.server.ServerRequestpublic <T> reactor.core.publisher.Mono<T> bodyToMono(Class<? extends T> elementClass)
bodyToMono in interface org.springframework.web.reactive.function.server.ServerRequestpublic <T> reactor.core.publisher.Mono<T> bodyToMono(org.springframework.core.ParameterizedTypeReference<T> typeReference)
bodyToMono in interface org.springframework.web.reactive.function.server.ServerRequestpublic <T> reactor.core.publisher.Flux<T> bodyToFlux(Class<? extends T> elementClass)
bodyToFlux in interface org.springframework.web.reactive.function.server.ServerRequestpublic <T> reactor.core.publisher.Flux<T> bodyToFlux(org.springframework.core.ParameterizedTypeReference<T> typeReference)
bodyToFlux in interface org.springframework.web.reactive.function.server.ServerRequestpublic Map<String,Object> attributes()
attributes in interface org.springframework.web.reactive.function.server.ServerRequestpublic org.springframework.util.MultiValueMap<String,String> queryParams()
queryParams in interface org.springframework.web.reactive.function.server.ServerRequestpublic Map<String,String> pathVariables()
pathVariables in interface org.springframework.web.reactive.function.server.ServerRequestpublic reactor.core.publisher.Mono<org.springframework.web.server.WebSession> session()
session in interface org.springframework.web.reactive.function.server.ServerRequestpublic reactor.core.publisher.Mono<? extends Principal> principal()
principal in interface org.springframework.web.reactive.function.server.ServerRequestpublic reactor.core.publisher.Mono<org.springframework.util.MultiValueMap<String,String>> formData()
formData in interface org.springframework.web.reactive.function.server.ServerRequestpublic reactor.core.publisher.Mono<org.springframework.util.MultiValueMap<String,org.springframework.http.codec.multipart.Part>> multipartData()
multipartData in interface org.springframework.web.reactive.function.server.ServerRequestpublic org.springframework.web.server.ServerWebExchange exchange()
exchange in interface org.springframework.web.reactive.function.server.ServerRequestCopyright © 2021 Pivotal Software, Inc.. All rights reserved.