Class

play.api.libs.ws.ahc

AhcWSRequest

Related Doc: package ahc

Permalink

case class AhcWSRequest(underlying: StandaloneAhcWSRequest) extends WSRequest with Product with Serializable

A WS Request backed by AsyncHTTPClient.

Source
AhcWSRequest.scala
Linear Supertypes
Serializable, Serializable, Product, Equals, WSRequest, StandaloneWSRequest, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AhcWSRequest
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. WSRequest
  7. StandaloneWSRequest
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new AhcWSRequest(underlying: StandaloneAhcWSRequest)

    Permalink

Type Members

  1. type Response = WSResponse

    Permalink
    Definition Classes
    AhcWSRequestWSRequestStandaloneWSRequest
  2. type Self = WSRequest

    Permalink
    Definition Classes
    AhcWSRequestWSRequestStandaloneWSRequest

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. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def auth: Option[(String, String, WSAuthScheme)]

    Permalink

    The authentication this request should use

    The authentication this request should use

    Definition Classes
    AhcWSRequestStandaloneWSRequest
  6. def body: WSBody

    Permalink

    The body of this request

    The body of this request

    Definition Classes
    AhcWSRequestStandaloneWSRequest
  7. def calc: Option[WSSignatureCalculator]

    Permalink

    A calculator of the signature for this request

    A calculator of the signature for this request

    Definition Classes
    AhcWSRequestStandaloneWSRequest
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def contentType: Option[String]

    Permalink

    The content type for this request, if any is defined.

    The content type for this request, if any is defined.

    Definition Classes
    AhcWSRequestStandaloneWSRequest
  10. def delete(): Future[Response]

    Permalink

    Perform a DELETE on the request asynchronously.

    Perform a DELETE on the request asynchronously.

    Definition Classes
    AhcWSRequestStandaloneWSRequest
  11. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  12. def execute(): Future[Response]

    Permalink

    Execute this request

    Execute this request

    Definition Classes
    AhcWSRequestStandaloneWSRequest
  13. def execute(method: String): Future[Response]

    Permalink
    Definition Classes
    AhcWSRequestStandaloneWSRequest
  14. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. def followRedirects: Option[Boolean]

    Permalink

    Whether this request should follow redirects

    Whether this request should follow redirects

    Definition Classes
    AhcWSRequestStandaloneWSRequest
  16. def get(): Future[Response]

    Permalink

    Performs a GET.

    Performs a GET.

    Definition Classes
    AhcWSRequestStandaloneWSRequest
  17. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  18. def head(): Future[Response]

    Permalink

    Perform a HEAD on the request asynchronously.

    Perform a HEAD on the request asynchronously.

    Definition Classes
    AhcWSRequestStandaloneWSRequest
  19. def headers: Map[String, Seq[String]]

    Permalink

    The headers for this request

    The headers for this request

    Definition Classes
    AhcWSRequestStandaloneWSRequest
  20. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  21. def method: String

    Permalink

    The method for this request

    The method for this request

    Definition Classes
    AhcWSRequestStandaloneWSRequest
  22. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  25. def options(): Future[Response]

    Permalink

    Perform a OPTIONS on the request asynchronously.

    Perform a OPTIONS on the request asynchronously.

    Definition Classes
    AhcWSRequestStandaloneWSRequest
  26. def patch[T](body: T)(implicit arg0: BodyWritable[T]): Future[Response]

    Permalink

    Definition Classes
    AhcWSRequestStandaloneWSRequest
  27. def patch(file: File): Future[Response]

    Permalink
    Definition Classes
    AhcWSRequestStandaloneWSRequest
  28. def patch(body: Source[Part[Source[ByteString, _]], _]): Future[Response]

    Permalink

    Perform a PATCH on the request asynchronously.

    Perform a PATCH on the request asynchronously.

    Definition Classes
    AhcWSRequestWSRequest
  29. def post[T](body: T)(implicit arg0: BodyWritable[T]): Future[Response]

    Permalink

    Definition Classes
    AhcWSRequestStandaloneWSRequest
  30. def post(body: File): Future[Response]

    Permalink
    Definition Classes
    AhcWSRequestStandaloneWSRequest
  31. def post(body: Source[Part[Source[ByteString, _]], _]): Future[Response]

    Permalink

    Perform a POST on the request asynchronously.

    Perform a POST on the request asynchronously.

    Definition Classes
    AhcWSRequestWSRequest
  32. def proxyServer: Option[WSProxyServer]

    Permalink

    The proxy server this request will use

    The proxy server this request will use

    Definition Classes
    AhcWSRequestStandaloneWSRequest
  33. def put(body: File): Future[Response]

    Permalink
    Definition Classes
    AhcWSRequestStandaloneWSRequest
  34. def put[T](body: T)(implicit arg0: BodyWritable[T]): Future[Response]

    Permalink

    Definition Classes
    AhcWSRequestStandaloneWSRequest
  35. def put(body: Source[Part[Source[ByteString, _]], _]): Future[Response]

    Permalink

    Perform a PUT on the request asynchronously.

    Perform a PUT on the request asynchronously.

    Definition Classes
    AhcWSRequestWSRequest
  36. def queryString: Map[String, Seq[String]]

    Permalink

    The query string for this request

    The query string for this request

    Definition Classes
    AhcWSRequestStandaloneWSRequest
  37. def requestTimeout: Option[Int]

    Permalink

    The timeout for the request

    The timeout for the request

    Definition Classes
    AhcWSRequestStandaloneWSRequest
  38. def sign(calc: WSSignatureCalculator): Self

    Permalink

    sets the signature calculator for the request

    sets the signature calculator for the request

    Definition Classes
    AhcWSRequestStandaloneWSRequest
  39. def stream(): Future[StreamedResponse]

    Permalink

    Execute this request and stream the response body.

    Execute this request and stream the response body.

    Definition Classes
    AhcWSRequestStandaloneWSRequest
  40. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  41. val underlying: StandaloneAhcWSRequest

    Permalink
  42. def uri: URI

    Permalink

    The URI for this request

    The URI for this request

    Definition Classes
    AhcWSRequestStandaloneWSRequest
  43. def url: String

    Permalink

    The base URL for this request

    The base URL for this request

    Definition Classes
    AhcWSRequestStandaloneWSRequest
  44. def virtualHost: Option[String]

    Permalink

    The virtual host this request will use

    The virtual host this request will use

    Definition Classes
    AhcWSRequestStandaloneWSRequest
  45. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  48. def withAuth(username: String, password: String, scheme: WSAuthScheme): Self

    Permalink

    sets the authentication realm

    sets the authentication realm

    Definition Classes
    AhcWSRequestStandaloneWSRequest
  49. def withBody(body: Source[Part[Source[ByteString, _]], _]): Self

    Permalink

    Sets a multipart body for this request

    Sets a multipart body for this request

    Definition Classes
    AhcWSRequestWSRequest
  50. def withBody[T](body: T)(implicit arg0: BodyWritable[T]): Self

    Permalink

    Sets the body for this request.

    Sets the body for this request.

    Definition Classes
    AhcWSRequestStandaloneWSRequest
  51. def withBody(file: File): Self

    Permalink

    Sets the body for this request

    Sets the body for this request

    Definition Classes
    AhcWSRequestStandaloneWSRequest
  52. def withBody(body: WSBody): Self

    Permalink

    Sets the body for this request

    Sets the body for this request

    Definition Classes
    AhcWSRequestStandaloneWSRequest
  53. def withFollowRedirects(follow: Boolean): Self

    Permalink

    Sets whether redirects (301, 302) should be followed automatically

    Sets whether redirects (301, 302) should be followed automatically

    Definition Classes
    AhcWSRequestStandaloneWSRequest
  54. def withHeaders(hdrs: (String, String)*): Self

    Permalink

    adds any number of HTTP headers

    adds any number of HTTP headers

    Definition Classes
    AhcWSRequestStandaloneWSRequest
  55. def withMethod(method: String): Self

    Permalink

    Sets the method for this request

    Sets the method for this request

    Definition Classes
    AhcWSRequestStandaloneWSRequest
  56. def withProxyServer(proxyServer: WSProxyServer): Self

    Permalink

    Sets the proxy server to use in this request

    Sets the proxy server to use in this request

    Definition Classes
    AhcWSRequestStandaloneWSRequest
  57. def withQueryString(parameters: (String, String)*): Self

    Permalink

    adds any number of query string parameters to this request

    adds any number of query string parameters to this request

    Definition Classes
    AhcWSRequestStandaloneWSRequest
  58. def withRequestFilter(filter: WSRequestFilter): WSRequest

    Permalink

    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
    AhcWSRequestStandaloneWSRequest
  59. def withRequestTimeout(timeout: Duration): Self

    Permalink

    Sets the maximum time you expect the request to take.

    Sets the maximum time you expect the request to take. Use Duration.Inf to set an infinite request timeout. Warning: a stream consumption will be interrupted when this time is reached unless Duration.Inf is set.

    Definition Classes
    AhcWSRequestStandaloneWSRequest
  60. def withVirtualHost(vh: String): Self

    Permalink

    Sets the virtual host to use in this request

    Sets the virtual host to use in this request

    Definition Classes
    AhcWSRequestStandaloneWSRequest

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from WSRequest

Inherited from StandaloneWSRequest

Inherited from AnyRef

Inherited from Any

Ungrouped