@Immutable public class ThriftMethodMetadata extends Object
| Constructor and Description |
|---|
ThriftMethodMetadata(String serviceName,
Method method,
com.facebook.swift.codec.metadata.ThriftCatalog catalog) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
com.google.common.collect.ImmutableList<String> |
getDocumentation() |
com.facebook.swift.codec.metadata.ThriftType |
getException(short id) |
Map<Short,com.facebook.swift.codec.metadata.ThriftType> |
getExceptions() |
Method |
getMethod() |
String |
getName() |
boolean |
getOneway() |
List<com.facebook.swift.codec.metadata.ThriftFieldMetadata> |
getParameters() |
String |
getQualifiedName() |
com.facebook.swift.codec.metadata.ThriftType |
getReturnType() |
int |
hashCode() |
boolean |
isAsync() |
public ThriftMethodMetadata(String serviceName, Method method, com.facebook.swift.codec.metadata.ThriftCatalog catalog)
public String getName()
public com.facebook.swift.codec.metadata.ThriftType getReturnType()
public List<com.facebook.swift.codec.metadata.ThriftFieldMetadata> getParameters()
public Map<Short,com.facebook.swift.codec.metadata.ThriftType> getExceptions()
public com.facebook.swift.codec.metadata.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-2016 Facebook, Inc.. All Rights Reserved.