@Override
    public boolean equals(@Nullable Object o) {
        if (this == o) {
            return true;
        }

        if (!(o instanceof ThriftMessage)) {
            return false;
        }

        return header.equals(((ThriftMessage) o).header);
    }
Returns the header part of the message.
thrift/thrift0.13/src/main/java/com/linecorp/armeria/common/thrift/ThriftMessage.java