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.
- Alphabetic
- By Inheritance
- StandaloneAhcWSRequest
- Serializable
- Product
- Equals
- WSCookieConverter
- AhcUtilities
- StandaloneWSRequest
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- 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
- type Response = StandaloneWSResponse
- Definition Classes
- StandaloneAhcWSRequest → StandaloneWSRequest
- type Self = StandaloneAhcWSRequest
- Definition Classes
- StandaloneAhcWSRequest → StandaloneWSRequest
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def addCookies(cookies: WSCookie*): Self
- Definition Classes
- StandaloneWSRequest
- def addHttpHeaders(hdrs: (String, String)*): Self
- Definition Classes
- StandaloneAhcWSRequest → StandaloneWSRequest
- def addQueryStringParameters(parameters: (String, String)*): Self
- Definition Classes
- StandaloneAhcWSRequest → StandaloneWSRequest
- def asCookie(c: Cookie): WSCookie
- Definition Classes
- WSCookieConverter
- def asCookie(cookie: WSCookie): Cookie
- Definition Classes
- WSCookieConverter
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val auth: Option[(String, String, WSAuthScheme)]
- Definition Classes
- StandaloneAhcWSRequest → StandaloneWSRequest
- val body: WSBody
- Definition Classes
- StandaloneAhcWSRequest → StandaloneWSRequest
- def buildRequest(): Request
Creates and returns an AHC request, running all operations on it.
- val calc: Option[WSSignatureCalculator]
- Definition Classes
- StandaloneAhcWSRequest → StandaloneWSRequest
- val client: StandaloneAhcWSClient
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
- def contentType: Option[String]
- Definition Classes
- StandaloneAhcWSRequest → StandaloneWSRequest
- val cookies: Seq[WSCookie]
- Definition Classes
- StandaloneAhcWSRequest → StandaloneWSRequest
- def delete(): Future[Response]
Perform a DELETE on the request asynchronously.
Perform a DELETE on the request asynchronously.
- Definition Classes
- StandaloneAhcWSRequest → StandaloneWSRequest
- val disableUrlEncoding: Option[Boolean]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def execute(): Future[Response]
- Definition Classes
- StandaloneAhcWSRequest → StandaloneWSRequest
- def execute(method: String): Future[Response]
- Definition Classes
- StandaloneAhcWSRequest → StandaloneWSRequest
- def filterWSRequestExecutor(next: WSRequestExecutor): WSRequestExecutor
- Attributes
- protected
- val followRedirects: Option[Boolean]
- Definition Classes
- StandaloneAhcWSRequest → StandaloneWSRequest
- def get(): Future[Response]
performs a get
performs a get
- Definition Classes
- StandaloneAhcWSRequest → StandaloneWSRequest
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def head(): Future[Response]
Perform a HEAD on the request asynchronously.
Perform a HEAD on the request asynchronously.
- Definition Classes
- StandaloneAhcWSRequest → StandaloneWSRequest
- def header(name: String): Option[String]
- Definition Classes
- StandaloneWSRequest
- def headerValues(name: String): Seq[String]
- Definition Classes
- StandaloneWSRequest
- val headers: Map[String, Seq[String]]
- Definition Classes
- StandaloneAhcWSRequest → StandaloneWSRequest
- def headersToMap(headers: HttpHeaders): TreeMap[String, Seq[String]]
- Definition Classes
- AhcUtilities
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val method: String
- Definition Classes
- StandaloneAhcWSRequest → StandaloneWSRequest
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def options(): Future[Response]
Perform a OPTIONS on the request asynchronously.
Perform a OPTIONS on the request asynchronously.
- Definition Classes
- StandaloneAhcWSRequest → StandaloneWSRequest
- def patch[T](body: T)(implicit arg0: BodyWritable[T]): Future[Response]
- Definition Classes
- StandaloneAhcWSRequest → StandaloneWSRequest
- def post[T](body: T)(implicit arg0: BodyWritable[T]): Future[Response]
- Definition Classes
- StandaloneAhcWSRequest → StandaloneWSRequest
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val proxyServer: Option[WSProxyServer]
- Definition Classes
- StandaloneAhcWSRequest → StandaloneWSRequest
- def put[T](body: T)(implicit arg0: BodyWritable[T]): Future[Response]
- Definition Classes
- StandaloneAhcWSRequest → StandaloneWSRequest
- val queryString: Map[String, Seq[String]]
- Definition Classes
- StandaloneAhcWSRequest → StandaloneWSRequest
- 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.
- 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.
- 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.
- val requestTimeout: Option[Duration]
- Definition Classes
- StandaloneAhcWSRequest → StandaloneWSRequest
- 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.
- def sign(calc: WSSignatureCalculator): Self
- Definition Classes
- StandaloneAhcWSRequest → StandaloneWSRequest
- def stream(): Future[Response]
- Definition Classes
- StandaloneAhcWSRequest → StandaloneWSRequest
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- lazy val uri: URI
- Definition Classes
- StandaloneAhcWSRequest → StandaloneWSRequest
- val url: String
- Definition Classes
- StandaloneAhcWSRequest → StandaloneWSRequest
- val virtualHost: Option[String]
- Definition Classes
- StandaloneAhcWSRequest → StandaloneWSRequest
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def withAuth(username: String, password: String, scheme: WSAuthScheme): Self
- Definition Classes
- StandaloneAhcWSRequest → StandaloneWSRequest
- 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
- def withCookies(cookies: WSCookie*): Self
- Definition Classes
- StandaloneAhcWSRequest → StandaloneWSRequest
- def withDisableUrlEncoding(disableUrlEncoding: Boolean): Self
- Definition Classes
- StandaloneAhcWSRequest → StandaloneWSRequest
- def withFollowRedirects(follow: Boolean): Self
- Definition Classes
- StandaloneAhcWSRequest → StandaloneWSRequest
- def withHttpHeaders(hdrs: (String, String)*): Self
- Definition Classes
- StandaloneAhcWSRequest → StandaloneWSRequest
- def withMethod(method: String): Self
- Definition Classes
- StandaloneAhcWSRequest → StandaloneWSRequest
- def withProxyServer(proxyServer: WSProxyServer): Self
- Definition Classes
- StandaloneAhcWSRequest → StandaloneWSRequest
- def withQueryStringParameters(parameters: (String, String)*): Self
- Definition Classes
- StandaloneAhcWSRequest → StandaloneWSRequest
- 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
- def withRequestTimeout(timeout: Duration): Self
- Definition Classes
- StandaloneAhcWSRequest → StandaloneWSRequest
- def withUrl(url: String): Self
- Definition Classes
- StandaloneAhcWSRequest → StandaloneWSRequest
- def withVirtualHost(vh: String): Self
- Definition Classes
- StandaloneAhcWSRequest → StandaloneWSRequest
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)