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
ConstructorDescriptionThriftCall
(TMessage header, TBase<?, ?> args) Creates a new instance that contains a ThriftTMessageType.CALL
orTMessageType.ONEWAY
message. -
Method Summary
Methods inherited from class com.linecorp.armeria.common.thrift.ThriftMessage
header
-
Constructor Details
-
ThriftCall
Creates a new instance that contains a ThriftTMessageType.CALL
orTMessageType.ONEWAY
message.
-
-
Method Details
-
args
Returns the arguments of this call. -
equals
- Overrides:
equals
in classThriftMessage
-
hashCode
public int hashCode()- Overrides:
hashCode
in classThriftMessage
-
toString
-