c

play.mvc

Result

class Result extends AnyRef

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Result
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Result(status: Int)
  2. new Result(status: Int, body: HttpEntity)
  3. new Result(status: Int, headers: Map[String, String])
  4. new Result(status: Int, headers: Map[String, String], body: HttpEntity)
  5. new Result(status: Int, reasonPhrase: String, headers: Map[String, String], body: HttpEntity)
  6. new Result(header: ResponseHeader, body: HttpEntity)
  7. new Result(header: ResponseHeader, body: HttpEntity, session: Session, flash: Flash, cookies: List[Cookie])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def addingToSession(request: Request, key: String, value: String): Result
  5. def addingToSession(request: Request, values: Map[String, String]): Result
  6. def as(contentType: String): Result
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def asScala(): api.mvc.Result
  9. def body(): HttpEntity
  10. def charset(): Optional[String]
  11. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  12. def contentType(): Optional[String]
  13. def cookie(name: String): Optional[Cookie]
  14. def cookies(): Cookies
  15. def discardingCookie(name: String, path: String, domain: String, secure: Boolean): Result
  16. def discardingCookie(name: String, path: String, domain: String): Result
  17. def discardingCookie(name: String, path: String): Result
  18. def discardingCookie(name: String): Result
  19. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  21. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  22. def flash(): Flash
  23. def flashing(key: String, value: String): Result
  24. def flashing(values: Map[String, String]): Result
  25. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  26. def getHeader(): ResponseHeader
    Attributes
    protected[mvc]
  27. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  28. def header(header: String): Optional[String]
  29. def headers(): Map[String, String]
  30. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  31. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  32. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  33. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  34. def reasonPhrase(): Optional[String]
  35. def redirectLocation(): Optional[String]
  36. def removingFromFlash(keys: <repeated...>[String]): Result
  37. def removingFromSession(request: Request, keys: <repeated...>[String]): Result
  38. def session(request: Request): Session
  39. def session(): Session
  40. def status(): Int
  41. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  42. def toString(): String
    Definition Classes
    AnyRef → Any
  43. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  44. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  45. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  46. def withCookies(newCookies: <repeated...>[Cookie]): Result
  47. def withFlash(flash: Map[String, String]): Result
  48. def withFlash(flash: Flash): Result
  49. def withHeader(name: String, value: String): Result
  50. def withHeaders(nameValues: <repeated...>[String]): Result
  51. def withLang(locale: Locale, messagesApi: MessagesApi): Result
  52. def withLang(lang: Lang, messagesApi: MessagesApi): Result
  53. def withNewFlash(): Result
  54. def withNewSession(): Result
  55. def withSession(session: Map[String, String]): Result
  56. def withSession(session: Session): Result
  57. def withoutHeader(name: String): Result
  58. def withoutLang(messagesApi: MessagesApi): Result

Deprecated Value Members

  1. def getCookie(name: String): Optional[Cookie]
    Annotations
    @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped