abstract class SimpleJsonWireFormat extends WireFormat
A protocol format that is just plain and simple json. This protocol doesn't support acking. It looks at the first character in the message and if it thinks it's JSON it will try to parse it as JSON otherwise it creates a text message
- Self Type
- SimpleJsonWireFormat with JsonMethods[_]
- Alphabetic
- By Inheritance
- SimpleJsonWireFormat
- WireFormat
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new SimpleJsonWireFormat()
Abstract Value Members
-
abstract
def
renderJson(json: JValue): String
- Attributes
- protected
Concrete 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[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
val
name: String
- Definition Classes
- SimpleJsonWireFormat → WireFormat
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
parseInMessage(message: String): InboundMessage
Parse an inbound message from a string.
Parse an inbound message from a string. This is used when a message is received over a connection.
- message
The serialized message to parse
- returns
the resulting org.scalatra.atmosphere.InboundMessage
- Definition Classes
- SimpleJsonWireFormat → WireFormat
-
def
parseOutMessage(message: String): OutboundMessage
Parse an outbound message from a string.
Parse an outbound message from a string. This is used when the buffer is being drained.
- message
The serialized message to parse
- returns
the resulting org.scalatra.atmosphere.OutboundMessage
- Definition Classes
- SimpleJsonWireFormat → WireFormat
-
def
render(message: OutboundMessage): String
Render an outbound message to string.
Render an outbound message to string. This is used when a message is sent to the remote party.
- message
The message to serialize
- returns
The string representation of the message
- Definition Classes
- SimpleJsonWireFormat → WireFormat
-
val
supportsAck: Boolean
- Definition Classes
- SimpleJsonWireFormat → WireFormat
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )