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:
Serializable
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 Summary
FieldsModifier and TypeFieldDescriptionprivate static final longprivate final intprivate final TimeoutFields inherited from class InterruptedIOException
bytesTransferred -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
streamId
private final int streamId -
timeout
-
-
Constructor Details
-
H2StreamTimeoutException
-
-
Method Details
-
getStreamId
public int getStreamId() -
getTimeout
-