code: public InputStream getStream() {
          if (stream != null) {
              return stream;
          }
          try {
              return new ByteArrayInputStream(content.getBytes("utf-8"));
          } catch (final UnsupportedEncodingException e) {
              throw new ApiException("UTF-8 encoding not supported", e);
          }
      }
docs: Get response data as stream.
  
  @return the response data as a stream