Package org.springframework.web.reactive.function.server
Types
Functions
attributeOrNull
Link copied to clipboard
awaitBody
Link copied to clipboard
awaitBodyOrNull
Link copied to clipboard
suspend fun <T : Any> ServerRequest.awaitBodyOrNull(clazz: KClass<T>): T?
Content copied to clipboard
awaitFormData
Link copied to clipboard
awaitMultipartData
Link copied to clipboard
suspend fun ServerRequest.awaitMultipartData(): MultiValueMap<String, Part>
Content copied to clipboard
Coroutines variant of ServerRequest.multipartData.
awaitPrincipal
Link copied to clipboard
awaitSession
Link copied to clipboard
body
Link copied to clipboard
inline fun <T : Any> ServerResponse.BodyBuilder.body(producer: Any): Mono<ServerResponse>
Content copied to clipboard
Extension for ServerResponse.BodyBuilder.body providing a
body<T>(Any)
variant leveraging Kotlin reified type parameters.inline fun <T : Any> ServerResponse.BodyBuilder.body(publisher: Publisher<T>): Mono<ServerResponse>
Content copied to clipboard
bodyAndAwait
Link copied to clipboard
inline suspend fun <T : Any> ServerResponse.BodyBuilder.bodyAndAwait(flow: Flow<T>): ServerResponse
Content copied to clipboard
Coroutines variant of ServerResponse.BodyBuilder.body with Any and ParameterizedTypeReference parameters providing a
bodyAndAwait(Flow<T>)
variant.bodyToFlow
Link copied to clipboard
bodyToFlux
Link copied to clipboard
Extension for ServerRequest.bodyToFlux providing a
bodyToFlux<Foo>()
variant leveraging Kotlin reified type parameters.bodyToMono
Link copied to clipboard
Extension for ServerRequest.bodyToMono providing a
bodyToMono<Foo>()
variant leveraging Kotlin reified type parameters.bodyToServerSentEvents
Link copied to clipboard
inline fun <T : Any> ServerResponse.BodyBuilder.bodyToServerSentEvents(publisher: Publisher<T>): Mono<ServerResponse>
Content copied to clipboard
Extension for ServerResponse.BodyBuilder.body providing a
bodyToServerSentEvents(Publisher<T>)
variant.bodyValueAndAwait
Link copied to clipboard
suspend fun ServerResponse.BodyBuilder.bodyValueAndAwait(body: Any): ServerResponse
Content copied to clipboard
Coroutines variant of ServerResponse.BodyBuilder.bodyValue.
buildAndAwait
Link copied to clipboard
suspend fun ServerResponse.HeadersBuilder<out ServerResponse.HeadersBuilder<*>>.buildAndAwait(): ServerResponse
Content copied to clipboard
Coroutines variant of ServerResponse.HeadersBuilder.build.
contentLengthOrNull
Link copied to clipboard
contentTypeOrNull
Link copied to clipboard
coRouter
Link copied to clipboard
fun coRouter(routes: CoRouterFunctionDsl.() -> Unit): RouterFunction<ServerResponse>
Content copied to clipboard
html
Link copied to clipboard
json
Link copied to clipboard
plus
Link copied to clipboard
operator fun <T : ServerResponse> RouterFunction<T>.plus(other: RouterFunction<T>): RouterFunction<T>
Content copied to clipboard
Equivalent to RouterFunction.and.
queryParamOrNull
Link copied to clipboard
remoteAddressOrNull
Link copied to clipboard
renderAndAwait
Link copied to clipboard
suspend fun ServerResponse.BodyBuilder.renderAndAwait(name: String, vararg modelAttributes: String): ServerResponse
Content copied to clipboard
Coroutines variant of ServerResponse.BodyBuilder.render.
suspend fun ServerResponse.BodyBuilder.renderAndAwait(name: String, model: Map<String, *>): ServerResponse
Content copied to clipboard
Coroutines variant of ServerResponse.BodyBuilder.render.
router
Link copied to clipboard
fun router(routes: RouterFunctionDsl.() -> Unit): RouterFunction<ServerResponse>
Content copied to clipboard
sse
Link copied to clipboard
xml
Link copied to clipboard