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
A
RuntimeException
raised when a server set
HTTP/2 MAX_CONCURRENT_STREAMS
to 0, which means a client can't send anything.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic RefusedStreamException
get()
Returns a singletonRefusedStreamException
or newly-created exception depending on the result ofSampler.isSampled(Object)
ofFlags.verboseExceptionSampler()
.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
or newly-created exception depending on the result ofSampler.isSampled(Object)
ofFlags.verboseExceptionSampler()
.
-