c

raw.sources.bytestream.http

HttpInputStream

class HttpInputStream extends InputStream with StrictLogging

InputStream that closes response on close, to ensure resources are released even if responses not consumed. If we just closed the inputstream with is.close() - and not response.close() -, then it would hang until a timeout is reached.

Linear Supertypes
StrictLogging, InputStream, Closeable, AutoCloseable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. HttpInputStream
  2. StrictLogging
  3. InputStream
  4. Closeable
  5. AutoCloseable
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new HttpInputStream(response: CloseableHttpResponse, request: HttpUriRequestBase)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def available(): Int
    Definition Classes
    HttpInputStream → InputStream
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @IntrinsicCandidate()
  7. def close(): Unit
    Definition Classes
    HttpInputStream → InputStream → Closeable → AutoCloseable
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. val logger: Logger
    Attributes
    protected
    Definition Classes
    StrictLogging
  14. def mark(readlimit: Int): Unit
    Definition Classes
    HttpInputStream → InputStream
  15. def markSupported(): Boolean
    Definition Classes
    HttpInputStream → InputStream
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  19. def read(): Int
    Definition Classes
    HttpInputStream → InputStream
  20. def read(b: Array[Byte], off: Int, len: Int): Int
    Definition Classes
    HttpInputStream → InputStream
  21. def read(b: Array[Byte]): Int
    Definition Classes
    HttpInputStream → InputStream
  22. def readAllBytes(): Array[Byte]
    Definition Classes
    InputStream
    Annotations
    @throws( classOf[java.io.IOException] )
  23. def readNBytes(arg0: Array[Byte], arg1: Int, arg2: Int): Int
    Definition Classes
    InputStream
    Annotations
    @throws( classOf[java.io.IOException] )
  24. def readNBytes(arg0: Int): Array[Byte]
    Definition Classes
    InputStream
    Annotations
    @throws( classOf[java.io.IOException] )
  25. def reset(): Unit
    Definition Classes
    HttpInputStream → InputStream
  26. def skip(n: Long): Long
    Definition Classes
    HttpInputStream → InputStream
  27. def skipNBytes(arg0: Long): Unit
    Definition Classes
    InputStream
    Annotations
    @throws( classOf[java.io.IOException] )
  28. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  29. def toString(): String
    Definition Classes
    AnyRef → Any
  30. def transferTo(arg0: OutputStream): Long
    Definition Classes
    InputStream
    Annotations
    @throws( classOf[java.io.IOException] )
  31. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from StrictLogging

Inherited from InputStream

Inherited from Closeable

Inherited from AutoCloseable

Inherited from AnyRef

Inherited from Any

Ungrouped