Class HttpInputStreamUtil.Result

    • Constructor Detail

      • Result

        public Result()
      • Result

        public Result​(Status status)
    • Method Detail

      • getInputStream

        public @Nullable InputStream getInputStream()
        Returns the data if the status is Status.SUCCESS.

        In any other case the result is null.

        Returns:
        The contents of the HTTP response or null if empty.
      • getStatus

        public Status getStatus()