Helpers

play.api.test.Helpers

Attributes

Graph
Supertypes
Self type
Helpers.type

Members list

Type members

Inherited classlikes

case class NegativeTimeout(t: Timeout)

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.

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 trade-off.

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.

Attributes

Inherited from:
DefaultAwaitTimeout
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Value members

Inherited methods

def await[T](future: Future[T], timeout: Long, unit: TimeUnit): T

Block until a Promise is redeemed with the specified timeout.

Block until a Promise is redeemed with the specified timeout.

Attributes

Inherited from:
FutureAwaits
def await[T](future: Future[T])(implicit timeout: Timeout): T

Block until a Promise is redeemed.

Block until a Promise is redeemed.

Attributes

Inherited from:
FutureAwaits
def call[T](action: EssentialAction, rh: RequestHeader, body: T)(implicit w: Writeable[T], mat: Materializer): Future[Result]

Execute an play.api.mvc.EssentialAction.

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

Attributes

Inherited from:
EssentialActionCaller
def call[T](action: EssentialAction, req: Request[T])(implicit w: Writeable[T], mat: Materializer): Future[Result]

Execute an play.api.mvc.EssentialAction.

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

Attributes

Inherited from:
EssentialActionCaller
def charset(of: Accumulator[ByteString, Result])(implicit timeout: Timeout, mat: Materializer): Option[String]

Extracts the Charset of this Result value.

Extracts the Charset of this Result value.

Attributes

Inherited from:
ResultExtractors
def charset(of: Future[Result])(implicit timeout: Timeout): Option[String]

Extracts the Charset of this Result value.

Extracts the Charset of this Result value.

Attributes

Inherited from:
ResultExtractors

Extracts the content as bytes.

Extracts the content as bytes.

Attributes

Inherited from:
ResultExtractors
def contentAsBytes(of: Future[Result])(implicit timeout: Timeout, mat: Materializer): ByteString

Extracts the content as bytes.

Extracts the content as bytes.

Attributes

Inherited from:
ResultExtractors
def contentAsBytes(of: Content)(implicit timeout: Timeout): Array[Byte]

Extracts the content as bytes.

Extracts the content as bytes.

Attributes

Inherited from:
ResultExtractors
def contentAsJson(of: Accumulator[ByteString, Result])(implicit timeout: Timeout, mat: Materializer): JsValue

Extracts the content as Json.

Extracts the content as Json.

Attributes

Inherited from:
ResultExtractors
def contentAsJson(of: Future[Result])(implicit timeout: Timeout, mat: Materializer): JsValue

Extracts the content as Json.

Extracts the content as Json.

Attributes

Inherited from:
ResultExtractors
def contentAsJson(of: Content)(implicit timeout: Timeout): JsValue

Extracts the content as Json.

Extracts the content as Json.

Attributes

Inherited from:
ResultExtractors
def contentAsString(of: Accumulator[ByteString, Result])(implicit timeout: Timeout, mat: Materializer): String

Extracts the content as String.

Extracts the content as String.

Attributes

Inherited from:
ResultExtractors
def contentAsString(of: Future[Result])(implicit timeout: Timeout, mat: Materializer): String

Extracts the content as String.

Extracts the content as String.

Attributes

Inherited from:
ResultExtractors
def contentAsString(of: Content)(implicit timeout: Timeout): String

Extracts the content as String.

Extracts the content as String.

Attributes

Inherited from:
ResultExtractors
def contentType(of: Accumulator[ByteString, Result])(implicit timeout: Timeout, mat: Materializer): Option[String]

Extracts the Content-Type of this Result value.

Extracts the Content-Type of this Result value.

Attributes

Inherited from:
ResultExtractors
def contentType(of: Future[Result])(implicit timeout: Timeout): Option[String]

Extracts the Content-Type of this Result value.

Extracts the Content-Type of this Result value.

Attributes

Inherited from:
ResultExtractors
def contentType(of: Content)(implicit timeout: Timeout): String

Extracts the Content-Type of this Content value.

Extracts the Content-Type of this Content value.

Attributes

Inherited from:
ResultExtractors
def cookies(of: Accumulator[ByteString, Result])(implicit timeout: Timeout, mat: Materializer): Cookies

Extracts the Cookies set by this Result value.

Extracts the Cookies set by this Result value.

Attributes

Inherited from:
ResultExtractors
def cookies(of: Future[Result])(implicit timeout: Timeout): Cookies

Gets the Cookies associated with this Result value. Note that this only extracts the "new" cookies added to this result (e.g. through withCookies), not including the Session or Flash. The final set of cookies may be different because the Play server automatically adds those cookies and merges the headers.

Gets the Cookies associated with this Result value. Note that this only extracts the "new" cookies added to this result (e.g. through withCookies), not including the Session or Flash. The final set of cookies may be different because the Play server automatically adds those cookies and merges the headers.

Attributes

Inherited from:
ResultExtractors
def flash(of: Accumulator[ByteString, Result])(implicit timeout: Timeout, mat: Materializer): Flash

Extracts the Flash values set by this Result value.

Extracts the Flash values set by this Result value.

Attributes

Inherited from:
ResultExtractors
def flash(of: Future[Result])(implicit timeout: Timeout): Flash

Extracts the Flash values set by this Result value.

Extracts the Flash values set by this Result value.

Attributes

Inherited from:
ResultExtractors
def header(header: String, of: Accumulator[ByteString, Result])(implicit timeout: Timeout, mat: Materializer): Option[String]

Extracts an Header value of this Result value.

Extracts an Header value of this Result value.

Attributes

Inherited from:
ResultExtractors
def header(header: String, of: Future[Result])(implicit timeout: Timeout): Option[String]

Extracts an Header value of this Result value.

Extracts an Header value of this Result value.

Attributes

Inherited from:
ResultExtractors
def headers(of: Accumulator[ByteString, Result])(implicit timeout: Timeout, mat: Materializer): Map[String, String]

Extracts all Headers of this Result value.

Extracts all Headers of this Result value.

Attributes

Inherited from:
ResultExtractors
def headers(of: Future[Result])(implicit timeout: Timeout): Map[String, String]

Extracts all Headers of this Result value.

Extracts all Headers of this Result value.

Attributes

Inherited from:
ResultExtractors
def inMemoryDatabase(name: String, options: Map[String, String]): Map[String, String]

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

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

Attributes

Inherited from:
PlayRunners

Attributes

Inherited from:
RouteInvokers

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.

Attributes

Inherited from:
ResultExtractors
def redirectLocation(of: Future[Result])(implicit timeout: Timeout): Option[String]

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.

Attributes

Inherited from:
ResultExtractors
def route[T](app: Application, req: Request[T])(implicit w: Writeable[T]): Option[Future[Result]]

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 deserialize it.

Attributes

Inherited from:
RouteInvokers
def route[T](app: Application, rh: RequestHeader, body: T)(implicit w: Writeable[T]): Option[Future[Result]]

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 deserialize it.

Attributes

Inherited from:
RouteInvokers
def route[T](router: Router, req: Request[T])(implicit w: Writeable[T], mat: Materializer): Option[Future[Result]]

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

Use the Router 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 deserialize it.

Attributes

Inherited from:
RouteInvokers
def route[T](router: Router, rh: RequestHeader, body: T)(implicit w: Writeable[T], mat: Materializer): Option[Future[Result]]

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

Use the Router 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 deserialize it.

Attributes

Inherited from:
RouteInvokers
def running[T](testServer: TestServer, webDriver: WebDriver)(block: TestBrowser => T): T

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.

Attributes

Inherited from:
PlayRunners
def running[T, WEBDRIVER <: WebDriver](testServer: TestServer, webDriver: Class[WEBDRIVER])(block: TestBrowser => T): T

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.

Attributes

Inherited from:
PlayRunners
def running[T](testServer: TestServer)(block: => T): T

Executes a block of code in a running server.

Executes a block of code in a running server.

Attributes

Inherited from:
PlayRunners

Attributes

Inherited from:
PlayRunners
def running[T](app: Application)(block: => T): T

Executes a block of code in a running application.

Executes a block of code in a running application.

Attributes

Inherited from:
PlayRunners
def running[T]()(block: Application => T): T

Attributes

Inherited from:
PlayRunners
def runningWithPort[T](testServer: TestServer, webDriver: WebDriver)(block: (TestBrowser, Int) => T): T

Executes a block of code in a running server, with a test browser and a port. If available the http port will be used first, before falling back to the https port.

Executes a block of code in a running server, with a test browser and a port. If available the http port will be used first, before falling back to the https port.

Attributes

Inherited from:
PlayRunners
def runningWithPort[T, WEBDRIVER <: WebDriver](testServer: TestServer, webDriver: Class[WEBDRIVER])(block: (TestBrowser, Int) => T): T

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

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

Attributes

Inherited from:
PlayRunners
def runningWithPort[T](testServer: TestServer)(block: Int => T): T

Executes a block of code in a running server, with a port. If available the http port will be used first, before falling back to the https port.

Executes a block of code in a running server, with a port. If available the http port will be used first, before falling back to the https port.

Attributes

Inherited from:
PlayRunners
def session(of: Accumulator[ByteString, Result])(implicit timeout: Timeout, mat: Materializer): Session

Extracts the Session set by this Result value.

Extracts the Session set by this Result value.

Attributes

Inherited from:
ResultExtractors
def session(of: Future[Result])(implicit timeout: Timeout): Session

Extracts the Session values set by this Result value.

Extracts the Session values set by this Result value.

Attributes

Inherited from:
ResultExtractors
def status(of: Accumulator[ByteString, Result])(implicit timeout: Timeout, mat: Materializer): Int

Extracts the Status code of this Result value.

Extracts the Status code of this Result value.

Attributes

Inherited from:
ResultExtractors
def status(of: Future[Result])(implicit timeout: Timeout): Int

Extracts the Status code of this Result value.

Extracts the Status code of this Result value.

Attributes

Inherited from:
ResultExtractors
def stubBodyParser[T](content: T): BodyParser[T]

Stub method that returns the content immediately. Useful for unit testing.

Stub method that returns the content immediately. Useful for unit testing.

val stubParser = bodyParser(AnyContent("hello"))

Value parameters

content

the content to return, AnyContentAsEmpty by default

Attributes

Returns

a BodyParser for type T that returns Accumulator.done(Right(content))

Inherited from:
StubBodyParserFactory
def stubControllerComponents(bodyParser: BodyParser[AnyContent], playBodyParsers: PlayBodyParsers, messagesApi: MessagesApi, langs: Langs, fileMimeTypes: FileMimeTypes, executionContext: ExecutionContext): ControllerComponents

Create a minimal controller components, useful for unit testing.

Create a minimal controller components, useful for unit testing.

In most cases, you'll want the standard defaults:

 val controller = new MyController(stubControllerComponents())

A custom body parser can be used with bodyParser() to provide a request body to the controller:

val cc = stubControllerComponents(bodyParser(AnyContent("request body text")))

Value parameters

bodyParser

the body parser used to parse any content, stubBodyParser(AnyContentAsEmpty) by default.

executionContext

an execution context, defaults to ExecutionContext.global

fileMimeTypes

the mime type associated with file extensions, new DefaultFileMimeTypes(FileMimeTypesConfiguration() by default.

langs

the langs instance for messaging, new DefaultLangs() by default.

messagesApi

the messages api, new DefaultMessagesApi() by default.

playBodyParsers

the playbodyparsers, defaults to stubPlayBodyParsers(NoMaterializer)

Attributes

Returns

a fully configured ControllerComponents instance.

Inherited from:
StubControllerComponentsFactory
def stubLangs(availables: Seq[Lang]): Langs

Value parameters

availables

default as Seq(Lang.defaultLang).

Attributes

Returns

a stub Langs

Inherited from:
StubMessagesFactory
def stubMessages(messagesApi: MessagesApi, requestHeader: RequestHeader): Messages

Stub method that returns a play.api.i18n.Messages instance.

Stub method that returns a play.api.i18n.Messages instance.

Value parameters

messagesApi

the messagesApi to use, uses stubMessagesApi by default.

requestHeader

the request to use, FakeRequest by default.

Attributes

Returns

the Messages instance

Inherited from:
StubMessagesFactory
def stubMessagesApi(messages: Map[String, Map[String, String]], langs: Langs, langCookieName: String, langCookieSecure: Boolean, langCookieHttpOnly: Boolean, langCookieSameSite: Option[SameSite], httpConfiguration: HttpConfiguration, langCookieMaxAge: Option[Int]): MessagesApi

Returns a stub DefaultMessagesApi with default values and an empty map.

Returns a stub DefaultMessagesApi with default values and an empty map.

Value parameters

httpConfiguration

configuration, HttpConfiguration() by default.

langCookieHttpOnly

false by default

langCookieMaxAge

None by default

langCookieName

"PLAY_LANG" by default

langCookieSameSite

None by default

langCookieSecure

false by default

langs

stubLangs() by default

messages

map of languages to map of messages, empty by default.

Attributes

Returns

the messagesApi with minimal configuration.

Inherited from:
StubMessagesFactory

Stub method that returns a play.api.mvc.MessagesRequest instance.

Stub method that returns a play.api.mvc.MessagesRequest instance.

Value parameters

messagesApi

the messagesApi to use, uses stubMessagesApi by default.

request

the request to use, FakeRequest by default.

Attributes

Returns

the Messages instance

Inherited from:
StubMessagesFactory

Stub method for unit testing, using NoTemporaryFileCreator.

Stub method for unit testing, using NoTemporaryFileCreator.

Value parameters

mat

the input materializer.

Attributes

Returns

a minimal PlayBodyParsers for unit testing.

Inherited from:
StubPlayBodyParsersFactory

Attributes

Inherited from:
PlayRunners

Attributes

Inherited from:
PlayRunners

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

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

Attributes

Inherited from:
PlayRunners

Attributes

Inherited from:
Writeables

If you pass a boundary, it will be used to separate the data/file parts of the multipart/form-data body. If you don't pass a boundary a random one will be generated.

If you pass a boundary, it will be used to separate the data/file parts of the multipart/form-data body. If you don't pass a boundary a random one will be generated.

Attributes

Inherited from:
Writeables

Inherited fields

val ACCEPT: String

Attributes

Inherited from:
HeaderNames
val ACCEPTED: Int

Attributes

Inherited from:
Status
val ACCEPT_CHARSET: String

Attributes

Inherited from:
HeaderNames
val ACCEPT_ENCODING: String

Attributes

Inherited from:
HeaderNames
val ACCEPT_LANGUAGE: String

Attributes

Inherited from:
HeaderNames
val ACCEPT_RANGES: String

Attributes

Inherited from:
HeaderNames

Attributes

Inherited from:
HeaderNames

Attributes

Inherited from:
HeaderNames

Attributes

Inherited from:
HeaderNames

Attributes

Inherited from:
HeaderNames

Attributes

Inherited from:
HeaderNames

Attributes

Inherited from:
HeaderNames

Attributes

Inherited from:
HeaderNames

Attributes

Inherited from:
HeaderNames
val AGE: String

Attributes

Inherited from:
HeaderNames
val ALLOW: String

Attributes

Inherited from:
HeaderNames
val AUTHORIZATION: String

Attributes

Inherited from:
HeaderNames

Attributes

Inherited from:
Status

Attributes

Inherited from:
Status
val BINARY: String

Content-Type of binary data.

Content-Type of binary data.

Attributes

Inherited from:
MimeTypes
val CACHE_CONTROL: String

Attributes

Inherited from:
HeaderNames
val CACHE_MANIFEST: String

Content-Type of application cache.

Content-Type of application cache.

Attributes

Inherited from:
MimeTypes
val CHUNKED: String

Attributes

Inherited from:
HttpProtocol
val CONFLICT: Int

Attributes

Inherited from:
Status
val CONNECTION: String

Attributes

Inherited from:
HeaderNames
val CONTENT_DISPOSITION: String

Attributes

Inherited from:
HeaderNames
val CONTENT_ENCODING: String

Attributes

Inherited from:
HeaderNames
val CONTENT_LANGUAGE: String

Attributes

Inherited from:
HeaderNames
val CONTENT_LENGTH: String

Attributes

Inherited from:
HeaderNames
val CONTENT_LOCATION: String

Attributes

Inherited from:
HeaderNames
val CONTENT_MD5: String

Attributes

Inherited from:
HeaderNames
val CONTENT_RANGE: String

Attributes

Inherited from:
HeaderNames

Attributes

Inherited from:
HeaderNames

Attributes

Inherited from:
HeaderNames

Attributes

Inherited from:
HeaderNames
val CONTENT_TYPE: String

Attributes

Inherited from:
HeaderNames
val CONTINUE: Int

Attributes

Inherited from:
Status
val CREATED: Int

Attributes

Inherited from:
Status
val CSS: String

Content-Type of css.

Content-Type of css.

Attributes

Inherited from:
MimeTypes
val DATE: String

Attributes

Inherited from:
HeaderNames
val DELETE: String

Attributes

Inherited from:
HttpVerbs
val ETAG: String

Attributes

Inherited from:
HeaderNames
val EVENT_STREAM: String

Content-Type of server sent events.

Content-Type of server sent events.

Attributes

Inherited from:
MimeTypes
val EXPECT: String

Attributes

Inherited from:
HeaderNames

Attributes

Inherited from:
Status
val EXPIRES: String

Attributes

Inherited from:
HeaderNames

Attributes

Inherited from:
Status
val FIREFOX: Class[FirefoxDriver]

Attributes

Inherited from:
PlayRunners
val FORBIDDEN: Int

Attributes

Inherited from:
Status
val FORM: String

Content-Type of form-urlencoded.

Content-Type of form-urlencoded.

Attributes

Inherited from:
MimeTypes
val FORWARDED: String

Attributes

Inherited from:
HeaderNames
val FOUND: Int

Attributes

Inherited from:
Status
val FROM: String

Attributes

Inherited from:
HeaderNames

Attributes

Inherited from:
Status
val GET: String

Attributes

Inherited from:
HttpVerbs
val GONE: Int

Attributes

Inherited from:
Status
val HEAD: String

Attributes

Inherited from:
HttpVerbs
val HOST: String

Attributes

Inherited from:
HeaderNames
val HTML: String

Content-Type of html.

Content-Type of html.

Attributes

Inherited from:
MimeTypes
val HTMLUNIT: Class[HtmlUnitDriver]

Attributes

Inherited from:
PlayRunners
val HTTP_1_0: String

Attributes

Inherited from:
HttpProtocol
val HTTP_1_1: String

Attributes

Inherited from:
HttpProtocol
val HTTP_2_0: String

Attributes

Inherited from:
HttpProtocol

Attributes

Inherited from:
Status
val IF_MATCH: String

Attributes

Inherited from:
HeaderNames
val IF_MODIFIED_SINCE: String

Attributes

Inherited from:
HeaderNames
val IF_NONE_MATCH: String

Attributes

Inherited from:
HeaderNames
val IF_RANGE: String

Attributes

Inherited from:
HeaderNames
val IF_UNMODIFIED_SINCE: String

Attributes

Inherited from:
HeaderNames

Attributes

Inherited from:
Status

Attributes

Inherited from:
Status

Attributes

Inherited from:
Status
val JAVASCRIPT: String

Content-Type of javascript.

Content-Type of javascript.

Attributes

Inherited from:
MimeTypes
val JSON: String

Content-Type of json.

Content-Type of json.

Attributes

Inherited from:
MimeTypes
val LAST_MODIFIED: String

Attributes

Inherited from:
HeaderNames

Attributes

Inherited from:
Status
val LOCATION: String

Attributes

Inherited from:
HeaderNames
val LOCKED: Int

Attributes

Inherited from:
Status
val MAX_FORWARDS: String

Attributes

Inherited from:
HeaderNames

Attributes

Inherited from:
Status

Attributes

Inherited from:
Status

Attributes

Inherited from:
Status

Attributes

Inherited from:
Status

Attributes

Inherited from:
Status

Attributes

Inherited from:
Status

Attributes

Inherited from:
Status
val NOT_FOUND: Int

Attributes

Inherited from:
Status

Attributes

Inherited from:
Status

Attributes

Inherited from:
Status

Attributes

Inherited from:
Status
val OK: Int

Attributes

Inherited from:
Status
val OPTIONS: String

Attributes

Inherited from:
HttpVerbs
val ORIGIN: String

Attributes

Inherited from:
HeaderNames

Attributes

Inherited from:
Status
val PATCH: String

Attributes

Inherited from:
HttpVerbs

Attributes

Inherited from:
Status

Attributes

Inherited from:
Status
val POST: String

Attributes

Inherited from:
HttpVerbs
val PRAGMA: String

Attributes

Inherited from:
HeaderNames

Attributes

Inherited from:
Status

Attributes

Inherited from:
Status
val PROXY_AUTHENTICATE: String

Attributes

Inherited from:
HeaderNames

Attributes

Inherited from:
Status
val PROXY_AUTHORIZATION: String

Attributes

Inherited from:
HeaderNames
val PUT: String

Attributes

Inherited from:
HttpVerbs
val RANGE: String

Attributes

Inherited from:
HeaderNames
val REFERER: String

Attributes

Inherited from:
HeaderNames
val REFERRER_POLICY: String

Attributes

Inherited from:
HeaderNames

Attributes

Inherited from:
Status

Attributes

Inherited from:
Status

Attributes

Inherited from:
Status

Attributes

Inherited from:
Status

Attributes

Inherited from:
Status

Attributes

Inherited from:
Status
val RETRY_AFTER: String

Attributes

Inherited from:
HeaderNames
val SEE_OTHER: Int

Attributes

Inherited from:
Status
val SERVER: String

Attributes

Inherited from:
HeaderNames

Attributes

Inherited from:
Status
val SET_COOKIE2: String

Attributes

Inherited from:
HeaderNames

Attributes

Inherited from:
HeaderNames

Attributes

Inherited from:
Status
val TE: String

Attributes

Inherited from:
HeaderNames

Attributes

Inherited from:
Status
val TEXT: String

Content-Type of text.

Content-Type of text.

Attributes

Inherited from:
MimeTypes

Attributes

Inherited from:
Status
val TRAILER: String

Attributes

Inherited from:
HeaderNames
val TRANSFER_ENCODING: String

Attributes

Inherited from:
HeaderNames

Attributes

Inherited from:
Status

Attributes

Inherited from:
Status

Attributes

Inherited from:
Status
val UPGRADE: String

Attributes

Inherited from:
HeaderNames

Attributes

Inherited from:
Status
val USER_AGENT: String

Attributes

Inherited from:
HeaderNames
val USE_PROXY: Int

Attributes

Inherited from:
Status
val VARY: String

Attributes

Inherited from:
HeaderNames
val VIA: String

Attributes

Inherited from:
HeaderNames
val WARNING: String

Attributes

Inherited from:
HeaderNames
val WWW_AUTHENTICATE: String

Attributes

Inherited from:
HeaderNames
val XHTML: String

Content-Type of xhtml.

Content-Type of xhtml.

Attributes

Inherited from:
MimeTypes
val XML: String

Content-Type of xml.

Content-Type of xml.

Attributes

Inherited from:
MimeTypes

Attributes

Inherited from:
HeaderNames
val X_FORWARDED_FOR: String

Attributes

Inherited from:
HeaderNames
val X_FORWARDED_HOST: String

Attributes

Inherited from:
HeaderNames
val X_FORWARDED_PORT: String

Attributes

Inherited from:
HeaderNames
val X_FORWARDED_PROTO: String

Attributes

Inherited from:
HeaderNames
val X_FRAME_OPTIONS: String

Attributes

Inherited from:
HeaderNames

Attributes

Inherited from:
HeaderNames
val X_REQUESTED_WITH: String

Attributes

Inherited from:
HeaderNames
val X_XSS_PROTECTION: String

Attributes

Inherited from:
HeaderNames

The base builder used in the running method.

The base builder used in the running method.

Attributes

Inherited from:
PlayRunners

Implicits

Inherited implicits

The default await timeout. Override this to change it.

The default await timeout. Override this to change it.

Attributes

Inherited from:
DefaultAwaitTimeout

Attributes

Inherited from:
DefaultAwaitTimeout
implicit def writeableOf_AnyContentAsEmpty(implicit code: Codec): Writeable[AnyContentAsEmpty.type]

Attributes

Inherited from:
Writeables

Attributes

Inherited from:
Writeables

Attributes

Inherited from:
Writeables

Attributes

Inherited from:
Writeables

Attributes

Inherited from:
Writeables

Attributes

Inherited from:
Writeables

Attributes

Inherited from:
Writeables

Deprecated and Inherited implicits

Attributes

Deprecated
true
Inherited from:
Writeables