open class BlockingServerInterceptor : ServerInterceptor
Wraps the ServerInterceptor and executes it on worker thread. All incoming events will be deferred until the interception is completed.
Author
Pavel Kopachevskiy
Author
Ruslan Sennov
open fun <ReqT : Any, RespT : Any> interceptCall(serverCall: ServerCall<ReqT, RespT>, metadata: Metadata, serverCallHandler: ServerCallHandler<ReqT, RespT>): Listener<ReqT> |
|
open static fun wrap(vertx: Vertx, interceptor: ServerInterceptor): ServerInterceptor |