com.bybutter.sisyphus.starter.grpc.transcoding.EmptyRouterFunction.kt Maven / Gradle / Ivy
package com.bybutter.sisyphus.starter.grpc.transcoding
import org.springframework.web.reactive.function.server.HandlerFunction
import org.springframework.web.reactive.function.server.RouterFunction
import org.springframework.web.reactive.function.server.ServerRequest
import org.springframework.web.reactive.function.server.ServerResponse
import reactor.core.publisher.Mono
/**
* Empty router just return empty mono.
*/
internal object EmptyRouterFunction : RouterFunction {
override fun route(request: ServerRequest): Mono> {
return Mono.empty()
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy