Calculates and sets the most efficient Content-Transfer-Encoding for this Object and all child parts based on the constraint provided.
constraint
a Object
a EncodingConstraint