@UnstableApi public final class ServiceInfo extends Object
Service.| Constructor and Description |
|---|
ServiceInfo(String name,
Iterable<MethodInfo> methods)
Creates a new instance.
|
ServiceInfo(String name,
Iterable<MethodInfo> methods,
Iterable<HttpHeaders> exampleHttpHeaders,
String docString)
Creates a new instance.
|
ServiceInfo(String name,
Iterable<MethodInfo> methods,
String docString)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
String |
docString()
Returns the documentation string.
|
boolean |
equals(Object o) |
List<HttpHeaders> |
exampleHttpHeaders()
Returns the example HTTP headers of the service.
|
Set<TypeSignature> |
findNamedTypes()
Returns all enum, struct and exception
TypeSignatures referred to by this service. |
int |
hashCode() |
Set<MethodInfo> |
methods()
Returns the metadata about the methods available in the service.
|
String |
name()
Returns the fully qualified type name of the service.
|
String |
toString() |
public ServiceInfo(String name, Iterable<MethodInfo> methods)
public ServiceInfo(String name, Iterable<MethodInfo> methods, String docString)
public ServiceInfo(String name, Iterable<MethodInfo> methods, Iterable<HttpHeaders> exampleHttpHeaders, String docString)
public String name()
public Set<MethodInfo> methods()
public Set<TypeSignature> findNamedTypes()
TypeSignatures referred to by this service.public String docString()
public List<HttpHeaders> exampleHttpHeaders()
Copyright © 2020 LeanCloud. All rights reserved.