public final class ServerServiceDefinition extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ServerServiceDefinition.Builder
Builder for constructing Service instances.
|
Modifier and Type | Method and Description |
---|---|
static ServerServiceDefinition.Builder |
builder(String serviceName) |
ServerMethodDefinition<?,?> |
getMethod(String name) |
ImmutableList<ServerMethodDefinition<?,?>> |
getMethods() |
String |
getName()
Simple name of the service.
|
public static ServerServiceDefinition.Builder builder(String serviceName)
public String getName()
public ImmutableList<ServerMethodDefinition<?,?>> getMethods()
public ServerMethodDefinition<?,?> getMethod(String name)