Object

play.api.test

Helpers

Related Doc: package test

Permalink

object Helpers extends PlayRunners with HeaderNames with Status with MimeTypes with HttpProtocol with DefaultAwaitTimeout with ResultExtractors with Writeables with EssentialActionCaller with RouteInvokers with FutureAwaits

Source
Helpers.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Helpers
  2. FutureAwaits
  3. RouteInvokers
  4. EssentialActionCaller
  5. Writeables
  6. ResultExtractors
  7. DefaultAwaitTimeout
  8. HttpProtocol
  9. MimeTypes
  10. Status
  11. HeaderNames
  12. PlayRunners
  13. HttpVerbs
  14. AnyRef
  15. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Type Members

  1. case class NegativeTimeout(t: Timeout) extends Product with Serializable

    Permalink

    How long we should wait for something that we expect *not* to happen, e.g.

    How long we should wait for something that we expect *not* to happen, e.g. waiting to make sure that a channel is *not* closed by some concurrent process.

    NegativeTimeout is a separate type to a normal Timeout because we'll want to set it to a lower value. This is because in normal usage we'll need to wait for the full length of time to show that nothing has happened in that time. If the value is too high then we'll spend a lot of time waiting during normal usage. If it is too low, however, we may miss events that occur after the timeout has finished. This is a necessary tradeoff.

    Where possible, tests should avoid using a NegativeTimeout. Tests will often know exactly when an event should occur. In this case they can perform a check for the event immediately rather than using using NegativeTimeout.

    Definition Classes
    DefaultAwaitTimeout

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. val ACCEPT: String

    Permalink
    Definition Classes
    HeaderNames
  5. val ACCEPTED: Int

    Permalink
    Definition Classes
    Status
  6. val ACCEPT_CHARSET: String

    Permalink
    Definition Classes
    HeaderNames
  7. val ACCEPT_ENCODING: String

    Permalink
    Definition Classes
    HeaderNames
  8. val ACCEPT_LANGUAGE: String

    Permalink
    Definition Classes
    HeaderNames
  9. val ACCEPT_RANGES: String

    Permalink
    Definition Classes
    HeaderNames
  10. val ACCESS_CONTROL_ALLOW_CREDENTIALS: String

    Permalink
    Definition Classes
    HeaderNames
  11. val ACCESS_CONTROL_ALLOW_HEADERS: String

    Permalink
    Definition Classes
    HeaderNames
  12. val ACCESS_CONTROL_ALLOW_METHODS: String

    Permalink
    Definition Classes
    HeaderNames
  13. val ACCESS_CONTROL_ALLOW_ORIGIN: String

    Permalink
    Definition Classes
    HeaderNames
  14. val ACCESS_CONTROL_EXPOSE_HEADERS: String

    Permalink
    Definition Classes
    HeaderNames
  15. val ACCESS_CONTROL_MAX_AGE: String

    Permalink
    Definition Classes
    HeaderNames
  16. val ACCESS_CONTROL_REQUEST_HEADERS: String

    Permalink
    Definition Classes
    HeaderNames
  17. val ACCESS_CONTROL_REQUEST_METHOD: String

    Permalink
    Definition Classes
    HeaderNames
  18. val AGE: String

    Permalink
    Definition Classes
    HeaderNames
  19. val ALLOW: String

    Permalink
    Definition Classes
    HeaderNames
  20. val AUTHORIZATION: String

    Permalink
    Definition Classes
    HeaderNames
  21. val BAD_GATEWAY: Int

    Permalink
    Definition Classes
    Status
  22. val BAD_REQUEST: Int

    Permalink
    Definition Classes
    Status
  23. val BINARY: String

    Permalink

    Content-Type of binary data.

    Content-Type of binary data.

    Definition Classes
    MimeTypes
  24. val CACHE_CONTROL: String

    Permalink
    Definition Classes
    HeaderNames
  25. val CACHE_MANIFEST: String

    Permalink

    Content-Type of application cache.

    Content-Type of application cache.

    Definition Classes
    MimeTypes
  26. val CHUNKED: String

    Permalink
    Definition Classes
    HttpProtocol
  27. val CONFLICT: Int

    Permalink
    Definition Classes
    Status
  28. val CONNECTION: String

    Permalink
    Definition Classes
    HeaderNames
  29. val CONTENT_DISPOSITION: String

    Permalink
    Definition Classes
    HeaderNames
  30. val CONTENT_ENCODING: String

    Permalink
    Definition Classes
    HeaderNames
  31. val CONTENT_LANGUAGE: String

    Permalink
    Definition Classes
    HeaderNames
  32. val CONTENT_LENGTH: String

    Permalink
    Definition Classes
    HeaderNames
  33. val CONTENT_LOCATION: String

    Permalink
    Definition Classes
    HeaderNames
  34. val CONTENT_MD5: String

    Permalink
    Definition Classes
    HeaderNames
  35. val CONTENT_RANGE: String

    Permalink
    Definition Classes
    HeaderNames
  36. val CONTENT_TRANSFER_ENCODING: String

    Permalink
    Definition Classes
    HeaderNames
  37. val CONTENT_TYPE: String

    Permalink
    Definition Classes
    HeaderNames
  38. val CONTINUE: Int

    Permalink
    Definition Classes
    Status
  39. val COOKIE: String

    Permalink
    Definition Classes
    HeaderNames
  40. val CREATED: Int

    Permalink
    Definition Classes
    Status
  41. val CSS: String

    Permalink

    Content-Type of css.

    Content-Type of css.

    Definition Classes
    MimeTypes
  42. val DATE: String

    Permalink
    Definition Classes
    HeaderNames
  43. val DELETE: String

    Permalink
    Definition Classes
    HttpVerbs
  44. val ETAG: String

    Permalink
    Definition Classes
    HeaderNames
  45. val EVENT_STREAM: String

    Permalink

    Content-Type of server sent events.

    Content-Type of server sent events.

    Definition Classes
    MimeTypes
  46. val EXPECT: String

    Permalink
    Definition Classes
    HeaderNames
  47. val EXPECTATION_FAILED: Int

    Permalink
    Definition Classes
    Status
  48. val EXPIRES: String

    Permalink
    Definition Classes
    HeaderNames
  49. val FAILED_DEPENDENCY: Int

    Permalink
    Definition Classes
    Status
  50. val FIREFOX: Class[FirefoxDriver]

    Permalink
    Definition Classes
    PlayRunners
  51. val FORBIDDEN: Int

    Permalink
    Definition Classes
    Status
  52. val FORM: String

    Permalink

    Content-Type of form-urlencoded.

    Content-Type of form-urlencoded.

    Definition Classes
    MimeTypes
  53. val FORWARDED: String

    Permalink
    Definition Classes
    HeaderNames
  54. val FOUND: Int

    Permalink
    Definition Classes
    Status
  55. val FROM: String

    Permalink
    Definition Classes
    HeaderNames
  56. val GATEWAY_TIMEOUT: Int

    Permalink
    Definition Classes
    Status
  57. val GET: String

    Permalink
    Definition Classes
    HttpVerbs
  58. val GONE: Int

    Permalink
    Definition Classes
    Status
  59. val HEAD: String

    Permalink
    Definition Classes
    HttpVerbs
  60. val HOST: String

    Permalink
    Definition Classes
    HeaderNames
  61. val HTML: String

    Permalink

    Content-Type of html.

    Content-Type of html.

    Definition Classes
    MimeTypes
  62. val HTMLUNIT: Class[HtmlUnitDriver]

    Permalink
    Definition Classes
    PlayRunners
  63. val HTTP_1_0: String

    Permalink
    Definition Classes
    HttpProtocol
  64. val HTTP_1_1: String

    Permalink
    Definition Classes
    HttpProtocol
  65. val HTTP_VERSION_NOT_SUPPORTED: Int

    Permalink
    Definition Classes
    Status
  66. val IF_MATCH: String

    Permalink
    Definition Classes
    HeaderNames
  67. val IF_MODIFIED_SINCE: String

    Permalink
    Definition Classes
    HeaderNames
  68. val IF_NONE_MATCH: String

    Permalink
    Definition Classes
    HeaderNames
  69. val IF_RANGE: String

    Permalink
    Definition Classes
    HeaderNames
  70. val IF_UNMODIFIED_SINCE: String

    Permalink
    Definition Classes
    HeaderNames
  71. val INSUFFICIENT_STORAGE: Int

    Permalink
    Definition Classes
    Status
  72. val INTERNAL_SERVER_ERROR: Int

    Permalink
    Definition Classes
    Status
  73. val JAVASCRIPT: String

    Permalink

    Content-Type of javascript.

    Content-Type of javascript.

    Definition Classes
    MimeTypes
  74. val JSON: String

    Permalink

    Content-Type of json.

    Content-Type of json.

    Definition Classes
    MimeTypes
  75. val LAST_MODIFIED: String

    Permalink
    Definition Classes
    HeaderNames
  76. val LENGTH_REQUIRED: Int

    Permalink
    Definition Classes
    Status
  77. val LOCATION: String

    Permalink
    Definition Classes
    HeaderNames
  78. val LOCKED: Int

    Permalink
    Definition Classes
    Status
  79. val MAX_FORWARDS: String

    Permalink
    Definition Classes
    HeaderNames
  80. val METHOD_NOT_ALLOWED: Int

    Permalink
    Definition Classes
    Status
  81. val MOVED_PERMANENTLY: Int

    Permalink
    Definition Classes
    Status
  82. val MULTIPLE_CHOICES: Int

    Permalink
    Definition Classes
    Status
  83. val MULTI_STATUS: Int

    Permalink
    Definition Classes
    Status
  84. val NON_AUTHORITATIVE_INFORMATION: Int

    Permalink
    Definition Classes
    Status
  85. val NOT_ACCEPTABLE: Int

    Permalink
    Definition Classes
    Status
  86. val NOT_FOUND: Int

    Permalink
    Definition Classes
    Status
  87. val NOT_IMPLEMENTED: Int

    Permalink
    Definition Classes
    Status
  88. val NOT_MODIFIED: Int

    Permalink
    Definition Classes
    Status
  89. val NO_CONTENT: Int

    Permalink
    Definition Classes
    Status
  90. val OK: Int

    Permalink
    Definition Classes
    Status
  91. val OPTIONS: String

    Permalink
    Definition Classes
    HttpVerbs
  92. val ORIGIN: String

    Permalink
    Definition Classes
    HeaderNames
  93. val PARTIAL_CONTENT: Int

    Permalink
    Definition Classes
    Status
  94. val PATCH: String

    Permalink
    Definition Classes
    HttpVerbs
  95. val PAYMENT_REQUIRED: Int

    Permalink
    Definition Classes
    Status
  96. val PERMANENT_REDIRECT: Int

    Permalink
    Definition Classes
    Status
  97. val POST: String

    Permalink
    Definition Classes
    HttpVerbs
  98. val PRAGMA: String

    Permalink
    Definition Classes
    HeaderNames
  99. val PRECONDITION_FAILED: Int

    Permalink
    Definition Classes
    Status
  100. val PROXY_AUTHENTICATE: String

    Permalink
    Definition Classes
    HeaderNames
  101. val PROXY_AUTHENTICATION_REQUIRED: Int

    Permalink
    Definition Classes
    Status
  102. val PROXY_AUTHORIZATION: String

    Permalink
    Definition Classes
    HeaderNames
  103. val PUT: String

    Permalink
    Definition Classes
    HttpVerbs
  104. val RANGE: String

    Permalink
    Definition Classes
    HeaderNames
  105. val REFERER: String

    Permalink
    Definition Classes
    HeaderNames
  106. val REQUESTED_RANGE_NOT_SATISFIABLE: Int

    Permalink
    Definition Classes
    Status
  107. val REQUEST_ENTITY_TOO_LARGE: Int

    Permalink
    Definition Classes
    Status
  108. val REQUEST_TIMEOUT: Int

    Permalink
    Definition Classes
    Status
  109. val REQUEST_URI_TOO_LONG: Int

    Permalink
    Definition Classes
    Status
  110. val RESET_CONTENT: Int

    Permalink
    Definition Classes
    Status
  111. val RETRY_AFTER: String

    Permalink
    Definition Classes
    HeaderNames
  112. val SEE_OTHER: Int

    Permalink
    Definition Classes
    Status
  113. val SERVER: String

    Permalink
    Definition Classes
    HeaderNames
  114. val SERVICE_UNAVAILABLE: Int

    Permalink
    Definition Classes
    Status
  115. val SET_COOKIE: String

    Permalink
    Definition Classes
    HeaderNames
  116. val SET_COOKIE2: String

    Permalink
    Definition Classes
    HeaderNames
  117. val SWITCHING_PROTOCOLS: Int

    Permalink
    Definition Classes
    Status
  118. val TE: String

    Permalink
    Definition Classes
    HeaderNames
  119. val TEMPORARY_REDIRECT: Int

    Permalink
    Definition Classes
    Status
  120. val TEXT: String

    Permalink

    Content-Type of text.

    Content-Type of text.

    Definition Classes
    MimeTypes
  121. val TOO_MANY_REQUESTS: Int

    Permalink
    Definition Classes
    Status
  122. val TRAILER: String

    Permalink
    Definition Classes
    HeaderNames
  123. val TRANSFER_ENCODING: String

    Permalink
    Definition Classes
    HeaderNames
  124. val UNAUTHORIZED: Int

    Permalink
    Definition Classes
    Status
  125. val UNPROCESSABLE_ENTITY: Int

    Permalink
    Definition Classes
    Status
  126. val UNSUPPORTED_MEDIA_TYPE: Int

    Permalink
    Definition Classes
    Status
  127. val UPGRADE: String

    Permalink
    Definition Classes
    HeaderNames
  128. val UPGRADE_REQUIRED: Int

    Permalink
    Definition Classes
    Status
  129. val USER_AGENT: String

    Permalink
    Definition Classes
    HeaderNames
  130. val USE_PROXY: Int

    Permalink
    Definition Classes
    Status
  131. val VARY: String

    Permalink
    Definition Classes
    HeaderNames
  132. val VIA: String

    Permalink
    Definition Classes
    HeaderNames
  133. val WARNING: String

    Permalink
    Definition Classes
    HeaderNames
  134. val WWW_AUTHENTICATE: String

    Permalink
    Definition Classes
    HeaderNames
  135. val XML: String

    Permalink

    Content-Type of xml.

    Content-Type of xml.

    Definition Classes
    MimeTypes
  136. val X_FORWARDED_FOR: String

    Permalink
    Definition Classes
    HeaderNames
  137. val X_FORWARDED_HOST: String

    Permalink
    Definition Classes
    HeaderNames
  138. val X_FORWARDED_PORT: String

    Permalink
    Definition Classes
    HeaderNames
  139. val X_FORWARDED_PROTO: String

    Permalink
    Definition Classes
    HeaderNames
  140. val X_REQUESTED_WITH: String

    Permalink
    Definition Classes
    HeaderNames
  141. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  142. def await[T](future: Future[T], timeout: Long, unit: TimeUnit): T

    Permalink

    Block until a Promise is redeemed with the specified timeout.

    Block until a Promise is redeemed with the specified timeout.

    Definition Classes
    FutureAwaits
  143. def await[T](future: Future[T])(implicit timeout: Timeout): T

    Permalink

    Block until a Promise is redeemed.

    Block until a Promise is redeemed.

    Definition Classes
    FutureAwaits
  144. lazy val baseApplicationBuilder: GuiceApplicationBuilder

    Permalink

    The base builder used in the running method.

    The base builder used in the running method.

    Definition Classes
    PlayRunners
  145. def call[T](action: EssentialAction, rh: RequestHeader, body: T)(implicit w: Writeable[T], mat: Materializer): Future[Result]

    Permalink

    Execute an play.api.mvc.EssentialAction.

    Execute an play.api.mvc.EssentialAction.

    The body is serialised using the implicit writable, so that the action body parser can deserialise it.

    Definition Classes
    EssentialActionCaller
  146. def call[T](action: EssentialAction, req: Request[T])(implicit w: Writeable[T], mat: Materializer): Future[Result]

    Permalink

    Execute an play.api.mvc.EssentialAction.

    Execute an play.api.mvc.EssentialAction.

    The body is serialised using the implicit writable, so that the action body parser can deserialise it.

    Definition Classes
    EssentialActionCaller
  147. def charset(of: Future[Result])(implicit timeout: Timeout): Option[String]

    Permalink

    Extracts the Charset of this Result value.

    Extracts the Charset of this Result value.

    Definition Classes
    ResultExtractors
  148. def clone(): AnyRef

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

    Permalink

    Extracts the content as bytes.

    Extracts the content as bytes.

    Definition Classes
    ResultExtractors
  150. def contentAsBytes(of: Content)(implicit timeout: Timeout): Array[Byte]

    Permalink

    Extracts the content as bytes.

    Extracts the content as bytes.

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

    Permalink

    Extracts the content as Json.

    Extracts the content as Json.

    Definition Classes
    ResultExtractors
  152. def contentAsJson(of: Content)(implicit timeout: Timeout): JsValue

    Permalink

    Extracts the content as Json.

    Extracts the content as Json.

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

    Permalink

    Extracts the content as String.

    Extracts the content as String.

    Definition Classes
    ResultExtractors
  154. def contentAsString(of: Content)(implicit timeout: Timeout): String

    Permalink

    Extracts the content as String.

    Extracts the content as String.

    Definition Classes
    ResultExtractors
  155. def contentType(of: Future[Result])(implicit timeout: Timeout): Option[String]

    Permalink

    Extracts the Content-Type of this Result value.

    Extracts the Content-Type of this Result value.

    Definition Classes
    ResultExtractors
  156. def contentType(of: Content)(implicit timeout: Timeout): String

    Permalink

    Extracts the Content-Type of this Content value.

    Extracts the Content-Type of this Content value.

    Definition Classes
    ResultExtractors
  157. def cookies(of: Future[Result])(implicit timeout: Timeout): Cookies

    Permalink

    Extracts the Cookies of this Result value.

    Extracts the Cookies of this Result value.

    Definition Classes
    ResultExtractors
  158. implicit def defaultAwaitTimeout: Timeout

    Permalink

    The default await timeout.

    The default await timeout. Override this to change it.

    Definition Classes
    DefaultAwaitTimeout
  159. implicit val defaultNegativeTimeout: NegativeTimeout

    Permalink
    Definition Classes
    DefaultAwaitTimeout
  160. final def eq(arg0: AnyRef): Boolean

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

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

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

    Permalink

    Extracts the Flash values of this Result value.

    Extracts the Flash values of this Result value.

    Definition Classes
    ResultExtractors
  164. final def getClass(): Class[_]

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

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

    Permalink

    Extracts an Header value of this Result value.

    Extracts an Header value of this Result value.

    Definition Classes
    ResultExtractors
  167. def headers(of: Future[Result])(implicit timeout: Timeout): Map[String, String]

    Permalink

    Extracts all Headers of this Result value.

    Extracts all Headers of this Result value.

    Definition Classes
    ResultExtractors
  168. def inMemoryDatabase(name: String = "default", options: Map[String, String] = Map.empty[String, String]): Map[String, String]

    Permalink

    Constructs a in-memory (h2) database configuration to add to a FakeApplication.

    Constructs a in-memory (h2) database configuration to add to a FakeApplication.

    Definition Classes
    PlayRunners
  169. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  170. def jRoute[T](app: Application, r: RequestHeader, body: RequestBody): Option[Future[Result]]

    Permalink
    Definition Classes
    RouteInvokers
  171. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  174. 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.

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

    Definition Classes
    ResultExtractors
  175. def route[T](app: Application, req: Request[T])(implicit w: Writeable[T]): Option[Future[Result]]

    Permalink

    Use the HttpRequestHandler to determine the Action to call for this request and execute it.

    Use the HttpRequestHandler to determine the Action to call for this request and execute it.

    The body is serialised using the implicit writable, so that the action body parser can deserialise it.

    Definition Classes
    RouteInvokers
  176. def route[T](app: Application, rh: RequestHeader, body: T)(implicit w: Writeable[T]): Option[Future[Result]]

    Permalink

    Use the HttpRequestHandler to determine the Action to call for this request and execute it.

    Use the HttpRequestHandler to determine the Action to call for this request and execute it.

    The body is serialised using the implicit writable, so that the action body parser can deserialise it.

    Definition Classes
    RouteInvokers
  177. def running[T](testServer: TestServer, webDriver: WebDriver)(block: (TestBrowser) ⇒ T): T

    Permalink

    Executes a block of code in a running server, with a test browser.

    Executes a block of code in a running server, with a test browser.

    Definition Classes
    PlayRunners
  178. def running[T, WEBDRIVER <: WebDriver](testServer: TestServer, webDriver: Class[WEBDRIVER])(block: (TestBrowser) ⇒ T): T

    Permalink

    Executes a block of code in a running server, with a test browser.

    Executes a block of code in a running server, with a test browser.

    Definition Classes
    PlayRunners
  179. def running[T](testServer: TestServer)(block: ⇒ T): T

    Permalink

    Executes a block of code in a running server.

    Executes a block of code in a running server.

    Definition Classes
    PlayRunners
  180. def running[T](builder: (GuiceApplicationBuilder) ⇒ GuiceApplicationBuilder)(block: (Application) ⇒ T): T

    Permalink
    Definition Classes
    PlayRunners
  181. def running[T](app: Application)(block: ⇒ T): T

    Permalink

    Executes a block of code in a running application.

    Executes a block of code in a running application.

    Definition Classes
    PlayRunners
  182. def running[T]()(block: (Application) ⇒ T): T

    Permalink
    Definition Classes
    PlayRunners
  183. 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.

    Definition Classes
    ResultExtractors
  184. def status(of: Future[Result])(implicit timeout: Timeout): Int

    Permalink

    Extracts the Status code of this Result value.

    Extracts the Status code of this Result value.

    Definition Classes
    ResultExtractors
  185. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  186. lazy val testServerPort: Int

    Permalink

    The port to use for a test server.

    The port to use for a test server. Defaults to 19001. May be configured using the system property testserver.port

    Definition Classes
    PlayRunners
  187. def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  191. implicit def writeableOf_AnyContentAsEmpty(implicit code: Codec): Writeable[AnyContentAsEmpty.type]

    Permalink
    Definition Classes
    Writeables
  192. implicit def writeableOf_AnyContentAsFormUrlEncoded(implicit code: Codec): Writeable[AnyContentAsFormUrlEncoded]

    Permalink
    Definition Classes
    Writeables
  193. implicit def writeableOf_AnyContentAsJson(implicit codec: Codec): Writeable[AnyContentAsJson]

    Permalink
    Definition Classes
    Writeables
  194. implicit def writeableOf_AnyContentAsRaw: Writeable[AnyContentAsRaw]

    Permalink
    Definition Classes
    Writeables
  195. implicit def writeableOf_AnyContentAsText(implicit code: Codec): Writeable[AnyContentAsText]

    Permalink
    Definition Classes
    Writeables
  196. implicit def writeableOf_AnyContentAsXml(implicit codec: Codec): Writeable[AnyContentAsXml]

    Permalink
    Definition Classes
    Writeables

Deprecated Value Members

  1. val TOO_MANY_REQUEST: Int

    Permalink
    Definition Classes
    Status
    Annotations
    @deprecated
    Deprecated

    (Since version 3.0.0) Use TOO_MANY_REQUESTS instead

  2. def route[T](req: Request[T])(implicit w: Writeable[T]): Option[Future[Result]]

    Permalink

    Use the HttpRequestHandler to determine the Action to call for this request and execute it.

    Use the HttpRequestHandler to determine the Action to call for this request and execute it.

    The body is serialised using the implicit writable, so that the action body parser can deserialise it.

    Definition Classes
    RouteInvokers
    Annotations
    @deprecated
    Deprecated

    (Since version 2.5.0) Use the version that takes an application

  3. def route[T](rh: RequestHeader, body: T)(implicit w: Writeable[T]): Option[Future[Result]]

    Permalink

    Use the HttpRequestHandler to determine the Action to call for this request and execute it.

    Use the HttpRequestHandler to determine the Action to call for this request and execute it.

    The body is serialised using the implicit writable, so that the action body parser can deserialise it.

    Definition Classes
    RouteInvokers
    Annotations
    @deprecated
    Deprecated

    (Since version 2.5.0) Use the version that takes an application

Inherited from FutureAwaits

Inherited from RouteInvokers

Inherited from EssentialActionCaller

Inherited from Writeables

Inherited from ResultExtractors

Inherited from DefaultAwaitTimeout

Inherited from HttpProtocol

Inherited from MimeTypes

Inherited from Status

Inherited from HeaderNames

Inherited from PlayRunners

Inherited from HttpVerbs

Inherited from AnyRef

Inherited from Any

Ungrouped