Package io.grpc

Class HandlerRegistry

    • Constructor Detail

      • HandlerRegistry

        public HandlerRegistry()
    • Method Detail

      • lookupMethod

        @Nullable
        public abstract ServerMethodDefinition<?,​?> lookupMethod​(java.lang.String methodName,
                                                                       @Nullable
                                                                       java.lang.String authority)
        Lookup a ServerMethodDefinition by its fully-qualified name.
        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.
        Returns:
        the resolved method or null if no method for that name exists.