Class ResetStreamException

All Implemented Interfaces:
Serializable

public class ResetStreamException extends HttpClientException

Thrown to indicate that an HTTP/2 steam has been reset by peer.

Since:
1.9
Author:
Jeremy Kuhn
See Also:
  • Constructor Details

    • ResetStreamException

      public ResetStreamException(long errorCode)

      Creates a reset stream exception.

      Parameters:
      errorCode - the reset stream frame error code
    • ResetStreamException

      public ResetStreamException(long errorCode, String message)

      Creates a reset stream exception.

      Parameters:
      errorCode - the reset stream frame error code
      message - the message
  • Method Details

    • getErrorCode

      public long getErrorCode()

      Returns the reset stream frame error code.

      Returns:
      the error code