Http2StreamException

final case class Http2StreamException(stream: Int, code: Long, msg: String) extends Http2Exception
trait Product
trait Equals
trait NoStackTrace
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any

Value members

Inherited methods

Inherited from
NoStackTrace
final def addSuppressed(`x$0`: Throwable): Unit
Inherited from
Throwable
override def fillInStackTrace(): Throwable
Definition Classes
NoStackTrace -> Throwable
Inherited from
NoStackTrace
def getCause(): Throwable
Inherited from
Throwable
def getLocalizedMessage(): String
Inherited from
Throwable
def getMessage(): String
Inherited from
Throwable
def getStackTrace(): Array[StackTraceElement]
Inherited from
Throwable
final def getSuppressed(): Array[Throwable]
Inherited from
Throwable
def initCause(`x$0`: Throwable): Throwable
Inherited from
Throwable
final def isRefusedStream: Boolean

Was the exception due to refusal by the peer.

Was the exception due to refusal by the peer.

These exceptions are safe to automatically retry even if the HTTP method is not an idempotent method. See https://tools.ietf.org/html/rfc7540#section-8.1.4 for more details.

Inherited from
Http2Exception
final def msgBuffer(): ByteBuffer

serialize the message as a ByteBuffer

serialize the message as a ByteBuffer

Inherited from
Http2Exception
final def name: String
Inherited from
Http2Exception
def printStackTrace(`x$0`: PrintWriter): Unit
Inherited from
Throwable
def printStackTrace(`x$0`: PrintStream): Unit
Inherited from
Throwable
def printStackTrace(): Unit
Inherited from
Throwable
def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product
def setStackTrace(`x$0`: Array[StackTraceElement]): Unit
Inherited from
Throwable

Convert this exception to a session exception

Convert this exception to a session exception

Inherited from
Http2Exception
final def toStreamException(streamId: Int): Http2StreamException

Convert this exception to a stream exception

Convert this exception to a stream exception

Note

If this is already a stream exception but with a different stream id, the id will be changed

Inherited from
Http2Exception
def toString(): String
Inherited from
Throwable