Class 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.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getCode()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • 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)
    • Method Detail

      • getCode

        public int getCode()