A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://www.playframework.com/documentation/2.5.x/api/scala/play/api/libs/ws/WSResponse.html below:

WSResponse - play.api.libs.ws.WSResponse

  • abstract def allHeaders: Map[String, Seq[String]]

    Return the current headers of the request being constructed

  • abstract def body: String

    The response body as String.

  • abstract def bodyAsBytes: ByteString

    The response body as a byte string.

  • abstract def cookie(name: String): Option[WSCookie]

    Get only one cookie, using the cookie name.

  • abstract def cookies: Seq[WSCookie]

    Get all the cookies.

  • abstract def header(key: String): Option[String]

    Get a response header.

  • abstract def json: JsValue

    The response body as Json.

  • abstract def status: Int

    The response status code.

  • abstract def statusText: String

    The response status message.

  • abstract def underlying[T]: T

    Get the underlying response object.

  • abstract def xml: Elem

    The response body as Xml.


  • RetroSearch is an open source project built by @garambo | Open a GitHub Issue

    Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

    HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4