public final class ThriftCall extends ThriftMessage
TBase) and its header (TMessage).
It is exported to RequestLog.requestContent() when a Thrift call is processed.| Constructor and Description |
|---|
ThriftCall(org.apache.thrift.protocol.TMessage header,
org.apache.thrift.TBase<?,?> args)
Creates a new instance that contains a Thrift
TMessageType.CALL or TMessageType.ONEWAY
message. |
| Modifier and Type | Method and Description |
|---|---|
org.apache.thrift.TBase<?,?> |
args()
Returns the arguments of this call.
|
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
java.lang.String |
toString() |
headerpublic ThriftCall(org.apache.thrift.protocol.TMessage header,
org.apache.thrift.TBase<?,?> args)
TMessageType.CALL or TMessageType.ONEWAY
message.public org.apache.thrift.TBase<?,?> args()
public boolean equals(@Nullable
java.lang.Object o)
equals in class ThriftMessagepublic int hashCode()
hashCode in class ThriftMessagepublic java.lang.String toString()
toString in class java.lang.Object© Copyright 2015–2018 LINE Corporation. All rights reserved.