Package com.linecorp.armeria.client
Class UnprocessedRequestException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.linecorp.armeria.client.UnprocessedRequestException
-
- All Implemented Interfaces:
Serializable
public final class UnprocessedRequestException extends RuntimeException
ARuntimeException
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 thelastStreamId
less than the stream ID of the request.- See Also:
- Section 6.8, RFC7540, Serialized Form
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static UnprocessedRequestException
get()
Returns anUnprocessedRequestException
which may be a singleton or a new instance, depending on whether the verbose exception mode is enabled.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Method Detail
-
get
public static UnprocessedRequestException get()
Returns anUnprocessedRequestException
which may be a singleton or a new instance, depending on whether the verbose exception mode is enabled.
-
-