MCPcopy Create free account
hub / github.com/grpc/grpc-java / lookupMethod

Method lookupMethod

api/src/main/java/io/grpc/HandlerRegistry.java:47–49  ·  view source on GitHub ↗

Lookup a ServerMethodDefinition by its fully-qualified name. @param methodName to lookup ServerMethodDefinition for. @param authority the authority for the desired method (to do virtual hosting). If null the first matching method will be returned. @return the resolved

(
      String methodName, @Nullable String authority)

Source from the content-addressed store, hash-verified

45 * @return the resolved method or {@code null} if no method for that name exists.
46 */
47 @Nullable
48 public abstract ServerMethodDefinition<?, ?> lookupMethod(
49 String methodName, @Nullable String authority);
50
51 /**
52 * Lookup a {@link ServerMethodDefinition} by its fully-qualified name.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected