Trait

play.api.test

ResultExtractors

Related Doc: package test

Permalink

trait ResultExtractors extends AnyRef

Self Type
ResultExtractors with HeaderNames with Status
Source
Helpers.scala
Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ResultExtractors
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def charset(of: Future[Result])(implicit timeout: Timeout): Option[String]

    Permalink

    Extracts the Charset of this Result value.

  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def contentAsBytes(of: Future[Result])(implicit timeout: Timeout, mat: Materializer = NoMaterializer): ByteString

    Permalink

    Extracts the content as bytes.

  8. def contentAsBytes(of: Content)(implicit timeout: Timeout): Array[Byte]

    Permalink

    Extracts the content as bytes.

  9. def contentAsJson(of: Future[Result])(implicit timeout: Timeout, mat: Materializer = NoMaterializer): JsValue

    Permalink

    Extracts the content as Json.

  10. def contentAsJson(of: Content)(implicit timeout: Timeout): JsValue

    Permalink

    Extracts the content as Json.

  11. def contentAsString(of: Future[Result])(implicit timeout: Timeout, mat: Materializer = NoMaterializer): String

    Permalink

    Extracts the content as String.

  12. def contentAsString(of: Content)(implicit timeout: Timeout): String

    Permalink

    Extracts the content as String.

  13. def contentType(of: Future[Result])(implicit timeout: Timeout): Option[String]

    Permalink

    Extracts the Content-Type of this Result value.

  14. def contentType(of: Content)(implicit timeout: Timeout): String

    Permalink

    Extracts the Content-Type of this Content value.

  15. def cookies(of: Future[Result])(implicit timeout: Timeout): Cookies

    Permalink

    Extracts the Cookies of this Result value.

  16. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. def flash(of: Future[Result])(implicit timeout: Timeout): Flash

    Permalink

    Extracts the Flash values of this Result value.

  20. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    AnyRef → Any
  22. def header(header: String, of: Future[Result])(implicit timeout: Timeout): Option[String]

    Permalink

    Extracts an Header value of this Result value.

  23. def headers(of: Future[Result])(implicit timeout: Timeout): Map[String, String]

    Permalink

    Extracts all Headers of this Result value.

  24. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  25. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  26. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  27. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  28. def redirectLocation(of: Future[Result])(implicit timeout: Timeout): Option[String]

    Permalink

    Extracts the Location header of this Result value if this Result is a Redirect.

  29. def session(of: Future[Result])(implicit timeout: Timeout): Session

    Permalink

    Extracts the Session of this Result value.

    Extracts the Session of this Result value. Extracts the Session from this Result value.

  30. def status(of: Future[Result])(implicit timeout: Timeout): Int

    Permalink

    Extracts the Status code of this Result value.

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

    Permalink
    Definition Classes
    AnyRef
  32. def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped