MessageContext

wvlet.airframe.codec.MessageContext
case class MessageContext()

MessageContext is used for passing the parsing configuration and the last value read by codec.

For efficiency, it holds several primitive type values as local variables to avoid the boxing overhead.

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def getBoolean: Boolean
def getByte: Byte
def getChar: Char
def getDouble: Double
def getError: Option[Throwable]
def getFloat: Float
def getInt: Int
def getLastValue: Any
def getLong: Long
def getShort: Short
def getString: String
def hasError: Boolean
def isNull: Boolean
def setBoolean(v: Boolean): Unit
def setByte(v: Byte): Unit
def setChar(v: Char): Unit
def setDouble(v: Double): Unit
def setError[A](e: Throwable): Unit
def setFloat(v: Float): Unit
def setIncompatibleFormatException(codec: MessageCodec[_], message: String): Unit
def setInt(v: Int): Unit
def setLong(v: Long): Unit
def setNull: Unit
def setObject(v: Any): Unit
def setShort(v: Short): Unit
def setString(v: String): Unit

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product