play.core.j

JavaWebSocket

object JavaWebSocket extends JavaHelpers

handles a scala websocket in a Java Context

Source
JavaWebSocket.scala
Linear Supertypes
JavaHelpers, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. JavaWebSocket
  2. JavaHelpers
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

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

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

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

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

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

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

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def createJavaContext(req: Request[RequestBody]): Context

    creates a java context from a scala Request[RequestBody]

    creates a java context from a scala Request[RequestBody]

    Definition Classes
    JavaHelpers
  9. def createJavaContext(req: RequestHeader): Context

    creates a java context from a scala RequestHeader

    creates a java context from a scala RequestHeader

    Definition Classes
    JavaHelpers
  10. def createJavaRequest(req: RequestHeader): Request

    creates a java request (with an empty body) from a scala RequestHeader

    creates a java request (with an empty body) from a scala RequestHeader

    Definition Classes
    JavaHelpers
  11. def createResult(javaContext: Context, javaResult: SimpleResult): SimpleResult

    creates a scala result from java context and result objects

    creates a scala result from java context and result objects

    javaContext
    javaResult

    Definition Classes
    JavaHelpers
  12. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  16. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  17. def invokeWithContext(request: RequestHeader, f: (Request) ⇒ Option[Promise[SimpleResult]]): Option[Future[SimpleResult]]

    Invoke the given function with the right context set, converting the scala request to a Java request, and converting the resulting Java result to a Scala result, before returning it.

    Invoke the given function with the right context set, converting the scala request to a Java request, and converting the resulting Java result to a Scala result, before returning it.

    This is intended for use by methods in the JavaGlobalSettingsAdapter, which need to be handled like Java actions, but are not Java actions.

    request

    The request

    f

    The function to invoke

    returns

    The result

    Definition Classes
    JavaHelpers
  18. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  19. implicit val jsonFrame: FrameFormatter[JsonNode]

  20. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  23. def ofBytes(retrieveWebSocket: ⇒ WebSocket[Array[Byte]]): Handler

  24. def ofJson(retrieveWebSocket: ⇒ WebSocket[JsonNode]): Handler

  25. def ofString(retrieveWebSocket: ⇒ WebSocket[String]): Handler

  26. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  27. def toPartialFunction[A, B](f: Function[A, B]): PartialFunction[A, B]

    Creates a partial function from a Java function

    Creates a partial function from a Java function

    Definition Classes
    JavaHelpers
  28. def toString(): String

    Definition Classes
    AnyRef → Any
  29. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. def webSocketWrapper[A](retrieveWebSocket: ⇒ WebSocket[A])(implicit frameFormatter: FrameFormatter[A]): WebSocket[A]

Inherited from JavaHelpers

Inherited from AnyRef

Inherited from Any

Ungrouped