c

play.api.libs.ws.ahc

StandaloneAhcWSRequest

case class StandaloneAhcWSRequest(client: StandaloneAhcWSClient, url: String, method: String = "GET", body: WSBody = EmptyBody, headers: Map[String, Seq[String]] = TreeMap()(CaseInsensitiveOrdered), queryString: Map[String, Seq[String]] = Map.empty, cookies: Seq[WSCookie] = Seq.empty, calc: Option[WSSignatureCalculator] = None, auth: Option[(String, String, WSAuthScheme)] = None, followRedirects: Option[Boolean] = None, requestTimeout: Option[Duration] = None, virtualHost: Option[String] = None, proxyServer: Option[WSProxyServer] = None, disableUrlEncoding: Option[Boolean] = None, filters: Seq[WSRequestFilter] = Nil)(implicit materializer: Materializer) extends StandaloneWSRequest with AhcUtilities with WSCookieConverter with Product with Serializable

A Ahc WS Request.

Linear Supertypes
Serializable, Product, Equals, WSCookieConverter, AhcUtilities, StandaloneWSRequest, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. StandaloneAhcWSRequest
  2. Serializable
  3. Product
  4. Equals
  5. WSCookieConverter
  6. AhcUtilities
  7. StandaloneWSRequest
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new StandaloneAhcWSRequest(client: StandaloneAhcWSClient, url: String, method: String = "GET", body: WSBody = EmptyBody, headers: Map[String, Seq[String]] = TreeMap()(CaseInsensitiveOrdered), queryString: Map[String, Seq[String]] = Map.empty, cookies: Seq[WSCookie] = Seq.empty, calc: Option[WSSignatureCalculator] = None, auth: Option[(String, String, WSAuthScheme)] = None, followRedirects: Option[Boolean] = None, requestTimeout: Option[Duration] = None, virtualHost: Option[String] = None, proxyServer: Option[WSProxyServer] = None, disableUrlEncoding: Option[Boolean] = None, filters: Seq[WSRequestFilter] = Nil)(implicit materializer: Materializer)

Type Members

  1. type Response = StandaloneWSResponse
    Definition Classes
    StandaloneAhcWSRequest → StandaloneWSRequest
  2. type Self = StandaloneAhcWSRequest
    Definition Classes
    StandaloneAhcWSRequest → StandaloneWSRequest

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 addCookies(cookies: WSCookie*): Self
    Definition Classes
    StandaloneWSRequest
  5. def addHttpHeaders(hdrs: (String, String)*): Self
    Definition Classes
    StandaloneAhcWSRequest → StandaloneWSRequest
  6. def addQueryStringParameters(parameters: (String, String)*): Self
    Definition Classes
    StandaloneAhcWSRequest → StandaloneWSRequest
  7. def asCookie(c: Cookie): WSCookie
    Definition Classes
    WSCookieConverter
  8. def asCookie(cookie: WSCookie): Cookie
    Definition Classes
    WSCookieConverter
  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. val auth: Option[(String, String, WSAuthScheme)]
    Definition Classes
    StandaloneAhcWSRequest → StandaloneWSRequest
  11. val body: WSBody
    Definition Classes
    StandaloneAhcWSRequest → StandaloneWSRequest
  12. def buildRequest(): Request

    Creates and returns an AHC request, running all operations on it.

  13. val calc: Option[WSSignatureCalculator]
    Definition Classes
    StandaloneAhcWSRequest → StandaloneWSRequest
  14. val client: StandaloneAhcWSClient
  15. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
  16. def contentType: Option[String]
    Definition Classes
    StandaloneAhcWSRequest → StandaloneWSRequest
  17. val cookies: Seq[WSCookie]
    Definition Classes
    StandaloneAhcWSRequest → StandaloneWSRequest
  18. def delete(): Future[Response]

    Perform a DELETE on the request asynchronously.

    Perform a DELETE on the request asynchronously.

    Definition Classes
    StandaloneAhcWSRequest → StandaloneWSRequest
  19. val disableUrlEncoding: Option[Boolean]
  20. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. def execute(): Future[Response]
    Definition Classes
    StandaloneAhcWSRequest → StandaloneWSRequest
  22. def execute(method: String): Future[Response]
    Definition Classes
    StandaloneAhcWSRequest → StandaloneWSRequest
  23. def filterWSRequestExecutor(next: WSRequestExecutor): WSRequestExecutor
    Attributes
    protected
  24. val followRedirects: Option[Boolean]
    Definition Classes
    StandaloneAhcWSRequest → StandaloneWSRequest
  25. def get(): Future[Response]

    performs a get

    performs a get

    Definition Classes
    StandaloneAhcWSRequest → StandaloneWSRequest
  26. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  27. def head(): Future[Response]

    Perform a HEAD on the request asynchronously.

    Perform a HEAD on the request asynchronously.

    Definition Classes
    StandaloneAhcWSRequest → StandaloneWSRequest
  28. def header(name: String): Option[String]
    Definition Classes
    StandaloneWSRequest
  29. def headerValues(name: String): Seq[String]
    Definition Classes
    StandaloneWSRequest
  30. val headers: Map[String, Seq[String]]
    Definition Classes
    StandaloneAhcWSRequest → StandaloneWSRequest
  31. def headersToMap(headers: HttpHeaders): TreeMap[String, Seq[String]]
    Definition Classes
    AhcUtilities
  32. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  33. val method: String
    Definition Classes
    StandaloneAhcWSRequest → StandaloneWSRequest
  34. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  35. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  36. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  37. def options(): Future[Response]

    Perform a OPTIONS on the request asynchronously.

    Perform a OPTIONS on the request asynchronously.

    Definition Classes
    StandaloneAhcWSRequest → StandaloneWSRequest
  38. def patch[T](body: T)(implicit arg0: BodyWritable[T]): Future[Response]

    Definition Classes
    StandaloneAhcWSRequest → StandaloneWSRequest
  39. def post[T](body: T)(implicit arg0: BodyWritable[T]): Future[Response]

    Definition Classes
    StandaloneAhcWSRequest → StandaloneWSRequest
  40. def productElementNames: Iterator[String]
    Definition Classes
    Product
  41. val proxyServer: Option[WSProxyServer]
    Definition Classes
    StandaloneAhcWSRequest → StandaloneWSRequest
  42. def put[T](body: T)(implicit arg0: BodyWritable[T]): Future[Response]

    Definition Classes
    StandaloneAhcWSRequest → StandaloneWSRequest
  43. val queryString: Map[String, Seq[String]]
    Definition Classes
    StandaloneAhcWSRequest → StandaloneWSRequest
  44. def requestHeader(name: String): Option[String]

    Returns the HTTP header given by name, using the request builder.

    Returns the HTTP header given by name, using the request builder. This may be signed, so may return extra headers that were not directly input.

  45. def requestHeaders: Map[String, Seq[String]]

    Returns the current headers of the request, using the request builder.

    Returns the current headers of the request, using the request builder. This may be signed, so may return extra headers that were not directly input.

  46. def requestQueryParams: Map[String, Seq[String]]

    Returns the current query string parameters, using the request builder.

    Returns the current query string parameters, using the request builder. This may be signed, so may not return the same parameters that were input.

  47. val requestTimeout: Option[Duration]
    Definition Classes
    StandaloneAhcWSRequest → StandaloneWSRequest
  48. def requestUrl: String

    Returns the current URL, using the request builder.

    Returns the current URL, using the request builder. This may be signed by OAuth, as opposed to request.url. This is an AHC specific method.

  49. def sign(calc: WSSignatureCalculator): Self
    Definition Classes
    StandaloneAhcWSRequest → StandaloneWSRequest
  50. def stream(): Future[Response]
    Definition Classes
    StandaloneAhcWSRequest → StandaloneWSRequest
  51. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  52. lazy val uri: URI
    Definition Classes
    StandaloneAhcWSRequest → StandaloneWSRequest
  53. val url: String
    Definition Classes
    StandaloneAhcWSRequest → StandaloneWSRequest
  54. val virtualHost: Option[String]
    Definition Classes
    StandaloneAhcWSRequest → StandaloneWSRequest
  55. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  56. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  57. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  58. def withAuth(username: String, password: String, scheme: WSAuthScheme): Self
    Definition Classes
    StandaloneAhcWSRequest → StandaloneWSRequest
  59. def withBody[T](body: T)(implicit arg0: BodyWritable[T]): Self

    Sets the body for this request.

    Sets the body for this request.

    Definition Classes
    StandaloneAhcWSRequest → StandaloneWSRequest
  60. def withCookies(cookies: WSCookie*): Self
    Definition Classes
    StandaloneAhcWSRequest → StandaloneWSRequest
  61. def withDisableUrlEncoding(disableUrlEncoding: Boolean): Self
    Definition Classes
    StandaloneAhcWSRequest → StandaloneWSRequest
  62. def withFollowRedirects(follow: Boolean): Self
    Definition Classes
    StandaloneAhcWSRequest → StandaloneWSRequest
  63. def withHttpHeaders(hdrs: (String, String)*): Self
    Definition Classes
    StandaloneAhcWSRequest → StandaloneWSRequest
  64. def withMethod(method: String): Self
    Definition Classes
    StandaloneAhcWSRequest → StandaloneWSRequest
  65. def withProxyServer(proxyServer: WSProxyServer): Self
    Definition Classes
    StandaloneAhcWSRequest → StandaloneWSRequest
  66. def withQueryStringParameters(parameters: (String, String)*): Self
    Definition Classes
    StandaloneAhcWSRequest → StandaloneWSRequest
  67. def withRequestFilter(filter: WSRequestFilter): Self

    Adds a filter to the request that can transform the request for subsequent filters.

    Adds a filter to the request that can transform the request for subsequent filters.

    Definition Classes
    StandaloneAhcWSRequest → StandaloneWSRequest
  68. def withRequestTimeout(timeout: Duration): Self
    Definition Classes
    StandaloneAhcWSRequest → StandaloneWSRequest
  69. def withUrl(url: String): Self
    Definition Classes
    StandaloneAhcWSRequest → StandaloneWSRequest
  70. def withVirtualHost(vh: String): Self
    Definition Classes
    StandaloneAhcWSRequest → StandaloneWSRequest

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from WSCookieConverter

Inherited from AhcUtilities

Inherited from StandaloneWSRequest

Inherited from AnyRef

Inherited from Any

Ungrouped