Package com.linecorp.armeria.client
Class RefusedStreamException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.linecorp.armeria.client.RefusedStreamException
- All Implemented Interfaces:
Serializable
public final class RefusedStreamException extends RuntimeException
A
RuntimeException
raised when a server set
HTTP/2 MAX_CONCURRENT_STREAMS
to 0, which means a client can't send anything.- See Also:
- Serialized Form
-
Method Summary
Modifier and Type Method Description static RefusedStreamException
get()
Returns a singletonRefusedStreamException
.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Method Details
-
get
Returns a singletonRefusedStreamException
.
-