Package org.apache.hc.core5.http2
Class H2StreamTimeoutException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- java.io.InterruptedIOException
-
- org.apache.hc.core5.http2.H2StreamTimeoutException
-
- All Implemented Interfaces:
java.io.Serializable
public class H2StreamTimeoutException extends java.io.InterruptedIOExceptionSocketTimeoutExceptionraised 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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description H2StreamTimeoutException(java.lang.String message, int streamId, org.apache.hc.core5.util.Timeout timeout)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetStreamId()org.apache.hc.core5.util.TimeoutgetTimeout()
-