The authentication this request should use
The body of this request
A calculator of the signature for this request
Execute this request
Whether this request should follow redirects
The headers for this request
The method for this request
The proxy server this request will use
The query string for this request
The timeout for the request
sets the signature calculator for the request
Execute this request and stream the response body.
The base URL for this request
The virtual host this request will use
sets the authentication realm
Sets the body for this request
Sets whether redirects (301, 302) should be followed automatically
adds any number of HTTP headers
Sets the method for this request
Sets the proxy server to use in this request
adds any number of query string parameters to this request
Adds a filter to the request that can transform the request for subsequent filters.
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.
Sets the virtual host to use in this request
Execute this request and stream the response body.
Execute this request and stream the response body.
(Since version 2.5.0) Use WS.stream()
instead.
This method used to be named stream
, but it was renamed because the method's signature was
changed and the JVM doesn't allow overloading on the return type.
Perform a DELETE on the request asynchronously.
performs a get
Perform a HEAD on the request asynchronously.
Perform a OPTIONS on the request asynchronously.
Perform a PATCH on the request asynchronously.
Perform a PATCH on the request asynchronously.
Perform a PATCH on the request asynchronously. Request body won't be chunked
Perform a PATCH on the request asynchronously.
Perform a POST on the request asynchronously.
Perform a POST on the request asynchronously.
Perform a POST on the request asynchronously. Request body won't be chunked
Perform a POST on the request asynchronously.
Perform a PUT on the request asynchronously.
Perform a PUT on the request asynchronously.
Perform a PUT on the request asynchronously. Request body won't be chunked
Perform a PUT on the request asynchronously.
The URI for this request
Sets the body for this request
performs a get
performs a get
that's handling the response
(Since version 2.5.0) Use WS.withMethod("GET").stream()
performs a get
performs a get
(Since version 2.5.0) Use WS.withMethod("GET").stream()
performs a POST with supplied body
performs a POST with supplied body
that's handling the response
(Since version 2.5.0) Use WS.withMethod("PATCH").stream()
performs a POST with supplied body
performs a POST with supplied body
that's handling the response
(Since version 2.5.0) Use WS.withMethod("POST").stream()
performs a PUT with supplied body
performs a PUT with supplied body
that's handling the response
(Since version 2.5.0) Use WS.withMethod("PUT").stream()
A WS Request builder.