Class ThriftCall
java.lang.Object
com.linecorp.armeria.common.thrift.ThriftMessage
com.linecorp.armeria.common.thrift.ThriftCall
A container of a Thrift one-way or two-way call object (
TBase) and its header (TMessage).
It is exported to RequestOnlyLog.requestContent() when a Thrift call is processed.-
Constructor Summary
ConstructorsConstructorDescriptionThriftCall(org.apache.thrift.protocol.TMessage header, org.apache.thrift.TBase<?, ?> args) Creates a new instance that contains a ThriftTMessageType.CALLorTMessageType.ONEWAYmessage. -
Method Summary
Methods inherited from class com.linecorp.armeria.common.thrift.ThriftMessage
header
-
Constructor Details
-
ThriftCall
public ThriftCall(org.apache.thrift.protocol.TMessage header, org.apache.thrift.TBase<?, ?> args) Creates a new instance that contains a ThriftTMessageType.CALLorTMessageType.ONEWAYmessage.
-
-
Method Details
-
args
public org.apache.thrift.TBase<?,?> args()Returns the arguments of this call. -
equals
- Overrides:
equalsin classThriftMessage
-
hashCode
public int hashCode()- Overrides:
hashCodein classThriftMessage
-
toString
-