open class MockServerRequest : ServerRequest
Mock implementation of ServerRequest.
Author
Arjen Poutsma
Since
5.0
open fun attributes(): MutableMap<String, Any> |
|
open fun <S : Any> body(extractor: BodyExtractor<S, in ServerHttpRequest>): S open fun <S : Any> body(extractor: BodyExtractor<S, in ServerHttpRequest>, hints: MutableMap<String, Any>): S |
|
open fun <S : Any> bodyToFlux(elementClass: Class<out S>): Flux<S> open fun <S : Any> bodyToFlux(typeReference: ParameterizedTypeReference<S>): Flux<S> |
|
open fun <S : Any> bodyToMono(elementClass: Class<out S>): Mono<S> open fun <S : Any> bodyToMono(typeReference: ParameterizedTypeReference<S>): Mono<S> |
|
open static fun builder(): Builder |
|
open fun cookies(): MultiValueMap<String, HttpCookie> |
|
open fun headers(): Headers |
|
open fun method(): HttpMethod |
|
open fun methodName(): String |
|
open fun pathContainer(): PathContainer |
|
open fun pathVariables(): MutableMap<String, String> |
|
open fun principal(): Mono<out Principal> |
|
open fun queryParams(): MultiValueMap<String, String> |
|
open fun session(): Mono<WebSession> |
|
open fun uri(): URI |
|
open fun uriBuilder(): UriBuilder |