StandaloneAhcWSRequest
A Ahc WS Request.
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait WSCookieConvertertrait AhcUtilitiestrait StandaloneWSRequestclass Objecttrait Matchableclass AnyShow all
Members list
Type members
Value members
Concrete methods
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
- Definition Classes
-
StandaloneWSRequest
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
- Definition Classes
-
StandaloneWSRequest
Creates and returns an AHC request, running all operations on it.
Creates and returns an AHC request, running all operations on it.
Attributes
The content type for this request, if any is defined.
The content type for this request, if any is defined.
Attributes
- Definition Classes
-
StandaloneWSRequest
Perform a DELETE on the request asynchronously.
Perform a DELETE on the request asynchronously.
Attributes
- Definition Classes
-
StandaloneWSRequest
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
- Definition Classes
-
StandaloneWSRequest
Execute this request
Execute this request
Attributes
- Definition Classes
-
StandaloneWSRequest
performs a get
performs a get
Attributes
- Definition Classes
-
StandaloneWSRequest
Perform a HEAD on the request asynchronously.
Perform a HEAD on the request asynchronously.
Attributes
- Definition Classes
-
StandaloneWSRequest
Perform a OPTIONS on the request asynchronously.
Perform a OPTIONS on the request asynchronously.
Attributes
- Definition Classes
-
StandaloneWSRequest
Attributes
- Definition Classes
-
StandaloneWSRequest
Attributes
- Definition Classes
-
StandaloneWSRequest
Attributes
- Definition Classes
-
StandaloneWSRequest
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.
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.
Attributes
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.
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.
Attributes
Returns the current query string parameters, using the request builder. This may be signed, so may not return the same parameters that were input.
Returns the current query string parameters, using the request builder. This may be signed, so may not return the same parameters that were input.
Attributes
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.
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.
Attributes
sets the signature calculator for the request
sets the signature calculator for the request
Value parameters
- calc
-
the signature calculator
Attributes
- Definition Classes
-
StandaloneWSRequest
Execute this request and stream the response body.
Execute this request and stream the response body.
Attributes
- Definition Classes
-
StandaloneWSRequest
sets the authentication realm
sets the authentication realm
Attributes
- Definition Classes
-
StandaloneWSRequest
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
- Definition Classes
-
StandaloneWSRequest
Sets whether url encoding should be disabled
Sets whether url encoding should be disabled
Attributes
- Definition Classes
-
StandaloneWSRequest
Sets whether redirects (301, 302) should be followed automatically
Sets whether redirects (301, 302) should be followed automatically
Attributes
- Definition Classes
-
StandaloneWSRequest
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
- Definition Classes
-
StandaloneWSRequest
Sets the method for this request
Sets the method for this request
Attributes
- Definition Classes
-
StandaloneWSRequest
Sets the proxy server to use in this request
Sets the proxy server to use in this request
Attributes
- Definition Classes
-
StandaloneWSRequest
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
- Definition Classes
-
StandaloneWSRequest
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
- Definition Classes
-
StandaloneWSRequest
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
- Definition Classes
-
StandaloneWSRequest
Sets the url for this request.
Sets the url for this request.
Attributes
- Definition Classes
-
StandaloneWSRequest
Sets the virtual host to use in this request
Sets the virtual host to use in this request
Attributes
- Definition Classes
-
StandaloneWSRequest
Inherited 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
- Inherited from:
- StandaloneWSRequest
Attributes
- Inherited from:
- WSCookieConverter
Attributes
- Inherited from:
- WSCookieConverter
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
- Inherited from:
- StandaloneWSRequest
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.
- Inherited from:
- StandaloneWSRequest
Attributes
- Inherited from:
- AhcUtilities
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
Concrete fields
The URI for this request
The URI for this request