Package org.apache.hc.core5.http2
Class H2StreamResetException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.apache.hc.core5.http.HttpStreamResetException
org.apache.hc.core5.http2.H2StreamResetException
- All Implemented Interfaces:
Serializable
Signals HTTP/2 protocol error that renders the actual HTTP/2 data stream
unreliable.
- Since:
- 5.0
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final int
private static final long
Required for serialization support. -
Constructor Summary
ConstructorsConstructorDescriptionH2StreamResetException
(int code, String message) H2StreamResetException
(H2Error error, String message) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDRequired for serialization support.- See Also:
-
code
private final int code
-
-
Constructor Details
-
H2StreamResetException
-
H2StreamResetException
-
-
Method Details
-
getCode
public int getCode()
-