StandaloneWSRequest
A WS Request builder.
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
Members list
Type members
Value members
Abstract methods
The authentication this request should use
The authentication this request should use
Attributes
A calculator of the signature for this request
A calculator of the signature for this request
Attributes
The content type for this request, if any is defined.
The content type for this request, if any is defined.
Attributes
Perform a DELETE on the request asynchronously.
Perform a DELETE on the request asynchronously.
Attributes
Executes the given HTTP method.
Executes the given HTTP method.
Value parameters
- method
-
the HTTP method that will be executed
Attributes
- Returns
-
a future with the response for this request
Whether this request should follow redirects
Whether this request should follow redirects
Attributes
Perform a HEAD on the request asynchronously.
Perform a HEAD on the request asynchronously.
Attributes
The headers for this request
The headers for this request
Attributes
The method for this request
The method for this request
Attributes
Perform a OPTIONS on the request asynchronously.
Perform a OPTIONS on the request asynchronously.
Attributes
Performs a PATCH request.
Performs a PATCH request.
Value parameters
- body
-
the payload body submitted with this request
Attributes
- Returns
-
a future with the response for the PATCH request
Performs a POST request.
Performs a POST request.
Value parameters
- body
-
the payload body submitted with this request
Attributes
- Returns
-
a future with the response for the POST request
The proxy server this request will use
The proxy server this request will use
Attributes
Performs a PUT request.
Performs a PUT request.
Value parameters
- body
-
the payload body submitted with this request
Attributes
- Returns
-
a future with the response for the PUT request
The query string for this request
The query string for this request
Attributes
The timeout for the request
The timeout for the request
Attributes
sets the signature calculator for the request
sets the signature calculator for the request
Value parameters
- calc
-
the signature calculator
Attributes
Execute this request and stream the response body.
Execute this request and stream the response body.
Attributes
The URI for this request
The URI for this request
Attributes
The base URL for this request
The base URL for this request
Attributes
The virtual host this request will use
The virtual host this request will use
Attributes
sets the authentication realm
sets the authentication realm
Attributes
Sets the body for this request.
Sets the body for this request.
Attributes
Returns this request with the given cookies, discarding the existing ones. In general, cookies set on a request are used only on that request and then discarded. But when play.ws.ahc.useCookieStore is enabled, there will be a global cookie store that keeps cookies between requests.
Returns this request with the given cookies, discarding the existing ones. In general, cookies set on a request are used only on that request and then discarded. But when play.ws.ahc.useCookieStore is enabled, there will be a global cookie store that keeps cookies between requests.
Value parameters
- cookies
-
the cookies to be used
Attributes
Sets whether url encoding should be disabled
Sets whether url encoding should be disabled
Attributes
Sets whether redirects (301, 302) should be followed automatically
Sets whether redirects (301, 302) should be followed automatically
Attributes
Returns this request with the given headers, discarding the existing ones.
Returns this request with the given headers, discarding the existing ones.
Value parameters
- headers
-
the headers to be used
Attributes
Sets the method for this request
Sets the method for this request
Attributes
Sets the proxy server to use in this request
Sets the proxy server to use in this request
Attributes
Returns this request with the given query string parameters, discarding the existing ones.
Returns this request with the given query string parameters, discarding the existing ones.
Value parameters
- parameters
-
the query string parameters
Attributes
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.
Attributes
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 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.
Attributes
Sets the url for this request.
Sets the url for this request.
Attributes
Sets the virtual host to use in this request
Sets the virtual host to use in this request
Attributes
Concrete methods
Returns this request with the given query string parameters, preserving the existing ones.
Returns this request with the given query string parameters, preserving the existing ones.
Value parameters
- cookies
-
the cookies to be used
Attributes
Returns this request with the given headers, preserving the existing ones.
Returns this request with the given headers, preserving the existing ones.
Value parameters
- hdrs
-
the headers to be added
Attributes
Returns this request with the given query string parameters, preserving the existing ones.
Returns this request with the given query string parameters, preserving the existing ones.
Value parameters
- parameters
-
the query string parameters
Attributes
Get the value of the header with the specified name. If there are more than one values for this header, the first value is returned. If there are no values, than a None is returned.
Get the value of the header with the specified name. If there are more than one values for this header, the first value is returned. If there are no values, than a None is returned.
Value parameters
- name
-
the header name
Attributes
- Returns
-
the header value
Get all the values of header with the specified name. If there are no values for the header with the specified name, than an empty sequence is returned.
Get all the values of header with the specified name. If there are no values for the header with the specified name, than an empty sequence is returned.
Value parameters
- name
-
the header name.
Attributes
- Returns
-
all the values for this header name.