final class Response[+T] extends Message[T]
A contract for a container envelope for a response value, which can allow for setting extra field metadata associated with the value.
- Alphabetic
- By Inheritance
- Response
- Message
- FieldMap
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new Response(value: T)
- new Response(value: T, fields: Map[MessageField[_], Any])
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(obj: Any): Boolean
- Definition Classes
- Response → AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def get[FieldType](field: MessageField[FieldType]): Option[FieldType]
Return
Some(value: FieldType)
for the specified field if it is present in the FieldMap, otherwiseNone
. - def get[FieldType](field: Field[FieldType]): Option[FieldType]
Return
Some(value: FieldType)
for the specified field if it is present in this FieldMap, otherwiseNone
.Return
Some(value: FieldType)
for the specified field if it is present in this FieldMap, otherwiseNone
.- Definition Classes
- FieldMap
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getOrElse[FieldType](field: MessageField[FieldType], orElse: => FieldType): FieldType
Return the value for the specified field if it is present in the FieldMap, otherwise return the user supplied FieldType.
- def getOrElse[FieldType](field: Field[FieldType], orElse: => FieldType): FieldType
Return the value for the specified field if it is present in this FieldMap, otherwise return the user supplied FieldType.
Return the value for the specified field if it is present in this FieldMap, otherwise return the user supplied FieldType.
- Definition Classes
- FieldMap
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def set[FieldType](field: MessageField[FieldType], value: FieldType): Response[T]
<invalid inheritdoc annotation>
- def set[FieldType](field: Field[FieldType], value: FieldType): FieldMap
Set the value for a field on this FieldMap
Set the value for a field on this FieldMap
- Definition Classes
- FieldMap
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- val value: T
- Definition Classes
- Message
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()