open class ServerRequestWrapper : ServerRequest
Implementation of the ServerRequest interface that can be subclassed to adapt the request to a HandlerFunction. All methods default to calling through to the wrapped request.
Author
Arjen Poutsma
Since
5.0
ServerRequestWrapper(delegate: ServerRequest)
Create a new |
open fun attribute(name: String): Optional<Any> |
|
open fun attributes(): MutableMap<String, Any> |
|
open fun <T : Any> body(extractor: BodyExtractor<T, in ServerHttpRequest>): Topen fun <T : Any> body(extractor: BodyExtractor<T, in ServerHttpRequest>, hints: MutableMap<String, Any>): T |
|
open fun <T : Any> bodyToFlux(elementClass: Class<out T>): Flux<T>open fun <T : Any> bodyToFlux(typeReference: ParameterizedTypeReference<T>): Flux<T> |
|
open fun <T : Any> bodyToMono(elementClass: Class<out T>): Mono<T>open fun <T : Any> bodyToMono(typeReference: ParameterizedTypeReference<T>): Mono<T> |
|
open fun cookies(): MultiValueMap<String, HttpCookie> |
|
open fun headers(): Headers |
|
open fun method(): HttpMethod |
|
open fun methodName(): String |
|
open fun path(): String |
|
open fun pathContainer(): PathContainer |
|
open fun pathVariable(name: String): String |
|
open fun pathVariables(): MutableMap<String, String> |
|
open fun principal(): Mono<out Principal> |
|
open fun queryParam(name: String): Optional<String> |
|
open fun queryParams(): MultiValueMap<String, String> |
|
open fun request(): ServerRequest
Return the wrapped request. |
|
open fun session(): Mono<WebSession> |
|
open fun uri(): URI |
|
open fun uriBuilder(): UriBuilder |