class Result extends AnyRef
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- Result
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new Result(status: Int)
- new Result(status: Int, body: HttpEntity)
- new Result(status: Int, headers: Map[String, String])
- new Result(status: Int, headers: Map[String, String], body: HttpEntity)
- new Result(status: Int, reasonPhrase: String, headers: Map[String, String], body: HttpEntity)
- new Result(header: ResponseHeader, body: HttpEntity)
- new Result(header: ResponseHeader, body: HttpEntity, session: Session, flash: Flash, cookies: List[Cookie])
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
- def addingToSession(request: Request, key: String, value: String): Result
- def addingToSession(request: Request, values: Map[String, String]): Result
- def as(contentType: String): Result
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def asScala(): api.mvc.Result
- def body(): HttpEntity
- def charset(): Optional[String]
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def contentType(): Optional[String]
- def cookie(name: String): Optional[Cookie]
- def cookies(): Cookies
- def discardingCookie(name: String, path: String, domain: String, secure: Boolean): Result
- def discardingCookie(name: String, path: String, domain: String): Result
- def discardingCookie(name: String, path: String): Result
- def discardingCookie(name: String): Result
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def flash(): Flash
- def flashing(key: String, value: String): Result
- def flashing(values: Map[String, String]): Result
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getHeader(): ResponseHeader
- Attributes
- protected[mvc]
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def header(header: String): Optional[String]
- def headers(): Map[String, String]
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def reasonPhrase(): Optional[String]
- def redirectLocation(): Optional[String]
- def removingFromFlash(keys: <repeated...>[String]): Result
- def removingFromSession(request: Request, keys: <repeated...>[String]): Result
- def session(request: Request): Session
- def session(): Session
- def status(): Int
- 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(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def withCookies(newCookies: <repeated...>[Cookie]): Result
- def withFlash(flash: Map[String, String]): Result
- def withFlash(flash: Flash): Result
- def withHeader(name: String, value: String): Result
- def withHeaders(nameValues: <repeated...>[String]): Result
- def withLang(locale: Locale, messagesApi: MessagesApi): Result
- def withLang(lang: Lang, messagesApi: MessagesApi): Result
- def withNewFlash(): Result
- def withNewSession(): Result
- def withSession(session: Map[String, String]): Result
- def withSession(session: Session): Result
- def withoutHeader(name: String): Result
- def withoutLang(messagesApi: MessagesApi): Result