org.mashupbots.socko.context

WsFrameProcessingContext

case class WsFrameProcessingContext (channel: Channel, endPoint: EndPoint, wsFrame: WebSocketFrame) extends ProcessingContext with Product with Serializable

Context for processing web socket frames.

A org.mashupbots.socko.context.WsProcessingContext will only be dispatched to processors only after an initial WsHandshakeProcessingContext has been successfully processed.

channel

Channel by which the request entered and response will be written

endPoint

End point though which the original handshake request entered

wsFrame

Incoming data for processing

Linear Supertypes
Serializable, Serializable, Product, Equals, ProcessingContext, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. WsFrameProcessingContext
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. ProcessingContext
  7. AnyRef
  8. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new WsFrameProcessingContext (channel: Channel, endPoint: EndPoint, wsFrame: WebSocketFrame)

    channel

    Channel by which the request entered and response will be written

    endPoint

    End point though which the original handshake request entered

    wsFrame

    Incoming data for processing

Value Members

  1. def != (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  2. def != (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  3. def ## (): Int

    Attributes
    final
    Definition Classes
    AnyRef → Any
  4. def == (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  5. def == (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  6. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  7. val cache : Map[String, String]

    Cache that can be use to pass data from handler to processor and between processors

    Cache that can be use to pass data from handler to processor and between processors

    Definition Classes
    ProcessingContext
  8. def canEqual (arg0: Any): Boolean

    Definition Classes
    WsFrameProcessingContext → Equals
  9. val channel : Channel

    Channel by which the request entered and response will be written

    Channel by which the request entered and response will be written

    Definition Classes
    WsFrameProcessingContextProcessingContext
  10. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  11. def close (): Unit

    Close the web socket connection

  12. val endPoint : EndPoint

    End point though which the original handshake request entered

    End point though which the original handshake request entered

    Definition Classes
    WsFrameProcessingContextProcessingContext
  13. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  14. def equals (arg0: Any): Boolean

    Definition Classes
    WsFrameProcessingContext → Equals → AnyRef → Any
  15. def finalize (): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  16. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef → Any
  17. def hashCode (): Int

    Definition Classes
    WsFrameProcessingContext → AnyRef → Any
  18. val isBinary : Boolean

  19. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  20. val isText : Boolean

  21. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  22. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  23. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  24. def productArity : Int

    Definition Classes
    WsFrameProcessingContext → Product
  25. def productElement (arg0: Int): Any

    Definition Classes
    WsFrameProcessingContext → Product
  26. def productIterator : Iterator[Any]

    Definition Classes
    Product
  27. def productPrefix : String

    Definition Classes
    WsFrameProcessingContext → Product
  28. def readBinaryContent (): Array[Byte]

    Returns the request content as byte array

    Returns the request content as byte array

    Definition Classes
    WsFrameProcessingContextProcessingContext
  29. def readStringContent (charset: Charset): String

    Returns the request content as a string

    Returns the request content as a string

    charset

    Character set to use to convert data to string

    Definition Classes
    WsFrameProcessingContextProcessingContext
  30. def readStringContent (): String

    Returns the request content as a string.

    Returns the request content as a string. UTF-8 character encoding is assumed

    Definition Classes
    WsFrameProcessingContextProcessingContext
  31. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  32. def toString (): String

    Definition Classes
    WsFrameProcessingContext → AnyRef → Any
  33. def wait (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  34. def wait (arg0: Long, arg1: Int): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  35. def wait (arg0: Long): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  36. def writeBinaryData (binary: Array[Byte]): Unit

    Sends a binary web socket frame back to the caller

    Sends a binary web socket frame back to the caller

    binary

    Binary data to return to the caller

  37. def writeText (text: String): Unit

    Sends a text web socket frame back to the caller

    Sends a text web socket frame back to the caller

    text

    Text to send to the caller

  38. val wsFrame : WebSocketFrame

    Incoming data for processing

Deprecated Value Members

  1. def productElements : Iterator[Any]

    Definition Classes
    Product
    Annotations
    @deprecated
    Deprecated

    use productIterator instead

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from ProcessingContext

Inherited from AnyRef

Inherited from Any