Class H2StreamTimeoutException

All Implemented Interfaces:
Serializable

public class H2StreamTimeoutException extends InterruptedIOException
SocketTimeoutException raised when an HTTP/2 stream exceeds its configured timeout.

This timeout is scoped to a single stream and is independent of the underlying connection socket timeout.

Since:
5.5
See Also:
  • Constructor Details

    • H2StreamTimeoutException

      public H2StreamTimeoutException(String message, int streamId, org.apache.hc.core5.util.Timeout timeout)
  • Method Details

    • getStreamId

      public int getStreamId()
    • getTimeout

      public org.apache.hc.core5.util.Timeout getTimeout()