Package-level declarations
Types
Provide a WebFlux.fn RouterFunction Coroutines Kotlin DSL created by coRouter { }
in order to be able to write idiomatic Kotlin code.
Provide a WebFlux.fn RouterFunction Reactive Kotlin DSL created by router { }
in order to be able to write idiomatic Kotlin code.
Functions
Nullable variant of ServerRequest.attribute
Non-nullable Coroutines variant of ServerRequest.bodyToMono.
KClass
non-nullable Coroutines variant of ServerRequest.bodyToMono. Please consider awaitBody<Foo>
variant if possible.
Nullable Coroutines variant of ServerRequest.bodyToMono.
KClass
nullable Coroutines variant of ServerRequest.bodyToMono. Please consider awaitBodyOrNull<Foo>
variant if possible.
Coroutines variant of ServerRequest.formData.
Coroutines variant of ServerRequest.multipartData.
Coroutines variant of ServerRequest.principal.
Coroutines variant of ServerRequest.session.
Extension for ServerResponse.BodyBuilder.body providing a body<T>(Any)
variant leveraging Kotlin reified type parameters. This extension is not subject to type erasure and retains actual generic type arguments.
Extension for ServerResponse.BodyBuilder.body providing a body(Publisher<T>)
variant. This extension is not subject to type erasure and retains actual generic type arguments.
Coroutines variant of ServerResponse.BodyBuilder.body with Any and ParameterizedTypeReference parameters providing a bodyAndAwait(Flow<T>)
variant. This extension is not subject to type erasure and retains actual generic type arguments.
Coroutines kotlinx.coroutines.flow.Flow based variant of ServerRequest.bodyToFlux.
KClass
coroutines kotlinx.coroutines.flow.Flow based variant of ServerRequest.bodyToFlux. Please consider bodyToFlow<Foo>
variant if possible.
Extension for ServerRequest.bodyToFlux providing a bodyToFlux<Foo>()
variant leveraging Kotlin reified type parameters. This extension is not subject to type erasure and retains actual generic type arguments.
Extension for ServerRequest.bodyToMono providing a bodyToMono<Foo>()
variant leveraging Kotlin reified type parameters. This extension is not subject to type erasure and retains actual generic type arguments.
Extension for ServerResponse.BodyBuilder.body providing a bodyToServerSentEvents(Publisher<T>)
variant. This extension is not subject to type erasure and retains actual generic type arguments.
Coroutines variant of ServerResponse.BodyBuilder.bodyValue.
Coroutines variant of ServerResponse.BodyBuilder.bodyValue providing a bodyValueWithTypeAndAwait<T>(Any)
variant leveraging Kotlin reified type parameters. This extension is not subject to type erasure and retains actual generic type arguments.
Coroutines variant of RenderingResponse.Builder.build.
Coroutines variant of ServerResponse.HeadersBuilder.build.
Nullable variant of ServerRequest.Headers.contentLength
Nullable variant of ServerRequest.Headers.contentType
Allow to create easily a WebFlux.fn RouterFunction with a Coroutines router Kotlin DSL.
Shortcut for setting MediaType.TEXT_HTML Content-Type
header.
Shortcut for setting MediaType.APPLICATION_JSON Content-Type
header.
Nullable variant of ServerRequest.pathVariable.
Equivalent to RouterFunction.and.
Nullable variant of ServerRequest.queryParam
Nullable variant of ServerRequest.remoteAddress
Coroutines variant of ServerResponse.BodyBuilder.render.
Allow to create easily a WebFlux.fn RouterFunction with a Reactive router Kotlin DSL.
Shortcut for setting MediaType.TEXT_EVENT_STREAM Content-Type
header.
Shortcut for setting MediaType.APPLICATION_XML Content-Type
header.