lookupMethod

Available in a dev version: 0․11․0-grpc-186

How to configure

abstract fun lookupMethod(methodName: String, authority: String?): ServerMethodDefinition<*, *>?(source)

Lookup a ServerMethodDefinition by its fully-qualified name.

Return

the resolved method or null if no method for that name exists.

Parameters

methodName

to lookup ServerMethodDefinition for.

authority

the authority for the desired method (to do virtual hosting). If null the first matching method will be returned.


Lookup a ServerMethodDefinition by its fully-qualified name.

Return

the resolved method or null if no method for that name exists.

Parameters

methodName

to lookup ServerMethodDefinition for.