@Immutable public class ThriftMethodMetadata extends Object
| Constructor and Description |
|---|
ThriftMethodMetadata(String serviceName,
Method method,
ThriftCatalog catalog) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
com.google.common.collect.ImmutableList<String> |
getDocumentation() |
ThriftType |
getException(short id) |
Map<Short,ThriftType> |
getExceptions() |
Method |
getMethod() |
String |
getName() |
boolean |
getOneway() |
List<ThriftFieldMetadata> |
getParameters() |
String |
getQualifiedName() |
ThriftType |
getReturnType() |
int |
hashCode() |
boolean |
isAsync() |
public ThriftMethodMetadata(String serviceName, Method method, ThriftCatalog catalog)
public String getName()
public ThriftType getReturnType()
public List<ThriftFieldMetadata> getParameters()
public Map<Short,ThriftType> getExceptions()
public ThriftType getException(short id)
public com.google.common.collect.ImmutableList<String> getDocumentation()
public Method getMethod()
public boolean getOneway()
public boolean isAsync()
public String getQualifiedName()
Copyright © 2012–2015 Facebook, Inc.. All rights reserved.