toByteArray

public ByteArrayContent toByteArray()

Converts the value to the byte array suitable for usage in the HTTP request.