Class ServiceCallContextBuilder


  • public class ServiceCallContextBuilder
    extends Object
    Service call context builder.
    • Constructor Detail

      • ServiceCallContextBuilder

        public ServiceCallContextBuilder()
    • Method Detail

      • put

        public ServiceCallContextBuilder put​(String name,
                                             String value)
        Put string attribute.
        Parameters:
        name - Attribute name.
        value - Attribute value.
        Returns:
        This for chaining.
      • put

        public ServiceCallContextBuilder put​(String name,
                                             byte[] value)
        Put binary attribute.

        Note: it is recommended to pass a copy of the array if the original can be changed later.

        Parameters:
        name - Attribute name.
        value - Attribute value.
        Returns:
        This for chaining.