public class MethodRegistry
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
MethodRegistry.AuthInfo
Consolidates authentication information about methods defined in a Service
|
static class |
MethodRegistry.Info
Consolidates information about methods defined in a Service
|
static class |
MethodRegistry.QuotaInfo |
| Constructor and Description |
|---|
MethodRegistry(com.google.api.Service s) |
| Modifier and Type | Method and Description |
|---|---|
MethodRegistry.Info |
lookup(java.lang.String httpMethod,
java.lang.String url)
Finds the
Info instance that matches httpMethod and url. |
public MethodRegistry(com.google.api.Service s)
s - contains the methods to be registered@Nullable public MethodRegistry.Info lookup(java.lang.String httpMethod, java.lang.String url)
Info instance that matches httpMethod and url.httpMethod - the method of a HTTP requesturl - the url of a HTTP requestInfo corresponding to the url and method, or null if none is found