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:
java.io.Serializable
public class H2StreamResetException extends HttpStreamResetException
Signals HTTP/2 protocol error that renders the actual HTTP/2 data stream unreliable.- Since:
- 5.0
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private int
code
private static long
serialVersionUID
Required for serialization support.
-
Constructor Summary
Constructors Constructor Description H2StreamResetException(int code, java.lang.String message)
H2StreamResetException(H2Error error, java.lang.String message)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getCode()
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
Required for serialization support.- See Also:
Serializable
, Constant Field Values
-
code
private final int code
-
-
Constructor Detail
-
H2StreamResetException
public H2StreamResetException(H2Error error, java.lang.String message)
-
H2StreamResetException
public H2StreamResetException(int code, java.lang.String message)
-
-