Class UnprocessedRequestException

  • All Implemented Interfaces:
    Serializable

    public final class UnprocessedRequestException
    extends RuntimeException
    A RuntimeException raised when it is certain that a request has not been handled by a server and thus can be retried safely. This exception is usually raised when a server sent an HTTP/2 GOAWAY frame with the lastStreamId less than the stream ID of the request.
    See Also:
    Section 6.8, RFC7540, Serialized Form
    • Constructor Detail

      • UnprocessedRequestException

        public UnprocessedRequestException​(@Nullable
                                           String message,
                                           Throwable cause)
        Creates a new instance with the specified message and cause.
      • UnprocessedRequestException

        public UnprocessedRequestException​(Throwable cause)
        Creates a new instance with the specified cause.