c

wvlet.airframe.codec

ObjectCodec

case class ObjectCodec[A](surface: Surface, paramCodec: Seq[MessageCodec[_]]) extends MessageCodec[A] with ObjectCodecBase with PackAsMapSupport[A] with LogSupport with Product with Serializable

Linear Supertypes
Product, Equals, PackAsMapSupport[A], ObjectCodecBase, MessageCodec[A], LogSupport, LazyLogger, LoggingMethods, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ObjectCodec
  2. Product
  3. Equals
  4. PackAsMapSupport
  5. ObjectCodecBase
  6. MessageCodec
  7. LogSupport
  8. LazyLogger
  9. LoggingMethods
  10. Serializable
  11. Serializable
  12. AnyRef
  13. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ObjectCodec(surface: Surface, paramCodec: Seq[MessageCodec[_]])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  6. macro def debug(message: Any, cause: Throwable): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  7. macro def debug(message: Any): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. macro def error(message: Any, cause: Throwable): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  10. macro def error(message: Any): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  11. def fromJson(json: Array[Byte]): A
    Definition Classes
    MessageCodec
  12. def fromJson(json: String): A
    Definition Classes
    MessageCodec
  13. def fromMap(m: Map[String, Any]): A
    Definition Classes
    MessageCodec
  14. def fromMsgPack(msgpack: Array[Byte]): A
    Definition Classes
    MessageCodec
  15. def fromString(s: String): A

    A shortcut for fromMsgPack(StringCodec.toMsgPack(s))

    A shortcut for fromMsgPack(StringCodec.toMsgPack(s))

    Definition Classes
    MessageCodec
  16. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. macro def info(message: Any, cause: Throwable): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  18. macro def info(message: Any): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. macro def logAt(logLevel: LogLevel, message: Any): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  21. lazy val logger: Logger
    Attributes
    protected[this]
    Definition Classes
    LazyLogger
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  25. def pack(p: Packer, v: A): Unit
    Definition Classes
    ObjectCodecMessageCodec
  26. def pack(v: A): MsgPack

    Converting the object into MessagePack (= Array[Byte])

    Converting the object into MessagePack (= Array[Byte])

    Definition Classes
    MessageCodec
  27. def packAsMap(p: Packer, v: A): Unit
    Definition Classes
    ObjectCodecPackAsMapSupport
  28. val paramCodec: Seq[MessageCodec[_]]
    Definition Classes
    ObjectCodecObjectCodecBase
  29. val surface: Surface
  30. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  31. def toJSONObject(v: A): JSONObject
    Definition Classes
    MessageCodec
  32. def toJson(v: A): String
    Definition Classes
    MessageCodec
  33. def toMsgPack(v: A): Array[Byte]
    Definition Classes
    MessageCodec
  34. macro def trace(message: Any, cause: Throwable): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  35. macro def trace(message: Any): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  36. def unpack(u: Unpacker, v: MessageContext): Unit
    Definition Classes
    ObjectCodecMessageCodec
  37. def unpack(msgpack: MsgPack): A

    Converting the input MessagePack into an object.

    Converting the input MessagePack into an object. If the conversion fails, throw an IllegalArgumentException

    Definition Classes
    MessageCodec
  38. def unpackBytes(msgpack: Array[Byte], offset: Int, len: Int): Option[A]
    Definition Classes
    MessageCodec
  39. def unpackBytes(msgpack: Array[Byte]): Option[A]
    Definition Classes
    MessageCodec
  40. def unpackJson(json: String): Option[A]
    Definition Classes
    MessageCodec
  41. def unpackMsgPack(msgpack: Array[Byte], offset: Int, len: Int): Option[A]
    Definition Classes
    MessageCodec
  42. def unpackMsgPack(msgpack: Array[Byte]): Option[A]
    Definition Classes
    MessageCodec
  43. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  44. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  45. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  46. macro def warn(message: Any, cause: Throwable): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  47. macro def warn(message: Any): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from Product

Inherited from Equals

Inherited from PackAsMapSupport[A]

Inherited from ObjectCodecBase

Inherited from MessageCodec[A]

Inherited from LogSupport

Inherited from LazyLogger

Inherited from LoggingMethods

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped