Interface ResponsePayloadPart.Builder

  • Method Details

    • bytes

      The payload bytes.

      Parameters:
      bytes - The payload bytes.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dataType

      ResponsePayloadPart.Builder dataType(String dataType)

      Data type header. Can be one of these possible values: "UTF8", "BINARY".

      Parameters:
      dataType - Data type header. Can be one of these possible values: "UTF8", "BINARY".
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • completionState

      ResponsePayloadPart.Builder completionState(String completionState)

      Completion state header. Can be one of these possible values: "PARTIAL", "COMPLETE".

      Parameters:
      completionState - Completion state header. Can be one of these possible values: "PARTIAL", "COMPLETE".
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • p

      Padding string for alignment.

      Parameters:
      p - Padding string for alignment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.