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:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • streamId

      private final int streamId
    • timeout

      private final Timeout timeout
  • Constructor Details

    • H2StreamTimeoutException

      public H2StreamTimeoutException(String message, int streamId, Timeout timeout)
  • Method Details

    • getStreamId

      public int getStreamId()
    • getTimeout

      public Timeout getTimeout()