WSRequest
A WS Request builder.
Attributes
- Graph
-
- Supertypes
-
trait WSBodyWritablestrait XMLBodyWritablestrait JsonBodyWritablestrait DefaultBodyWritablestrait StandaloneWSRequestclass Objecttrait Matchableclass AnyShow all
Members list
Type members
Value members
Abstract methods
Returns this request with the given cookies, preserving the existing ones.
Returns this request with the given cookies, preserving the existing ones.
Value parameters
- cookies
-
the cookies to be used
Attributes
- Definition Classes
-
StandaloneWSRequest
The authentication this request should use
The authentication this request should use
Attributes
- Definition Classes
-
StandaloneWSRequest
The body of this request
The body of this request
Attributes
- Definition Classes
-
StandaloneWSRequest
A calculator of the signature for this request
A calculator of the signature for this request
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
Whether this request should follow redirects
Whether this request should follow redirects
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
The headers for this request
The headers for this request
Attributes
- Definition Classes
-
StandaloneWSRequest
The method for this request
The method for this request
Attributes
- Definition Classes
-
StandaloneWSRequest
Perform a OPTIONS on the request asynchronously.
Perform a OPTIONS on the request asynchronously.
Attributes
- Definition Classes
-
StandaloneWSRequest
Performs a PATCH request.
Performs a PATCH request.
Value parameters
- body
-
the payload wsBody submitted with this request
Attributes
- Returns
-
a future with the response for the PATCH request
- Definition Classes
-
StandaloneWSRequest
Perform a PATCH on the request asynchronously. Request body won't be chunked
Perform a PATCH on the request asynchronously. Request body won't be chunked
Attributes
Perform a PATCH on the request asynchronously.
Perform a PATCH on the request asynchronously.
Attributes
Performs a POST request.
Performs a POST request.
Value parameters
- body
-
the payload wsBody submitted with this request
Attributes
- Returns
-
a future with the response for the POST request
- Definition Classes
-
StandaloneWSRequest
Perform a POST on the request asynchronously. Request body won't be chunked
Perform a POST on the request asynchronously. Request body won't be chunked
Attributes
Perform a POST on the request asynchronously.
Perform a POST on the request asynchronously.
Attributes
The proxy server this request will use
The proxy server this request will use
Attributes
- Definition Classes
-
StandaloneWSRequest
Performs a PUT request.
Performs a PUT request.
Value parameters
- body
-
the payload wsBody submitted with this request
Attributes
- Returns
-
a future with the response for the PUT request
- Definition Classes
-
StandaloneWSRequest
Perform a PUT on the request asynchronously. Request body won't be chunked
Perform a PUT on the request asynchronously. Request body won't be chunked
Attributes
Perform a PUT on the request asynchronously.
Perform a PUT on the request asynchronously.
Attributes
The query string for this request
The query string for this request
Attributes
- Definition Classes
-
StandaloneWSRequest
The timeout for the request
The timeout for the request
Attributes
- Definition Classes
-
StandaloneWSRequest
sets the signature calculator for the request
sets the signature calculator for the request
Attributes
- Definition Classes
-
StandaloneWSRequest
The virtual host this request will use
The virtual host this request will use
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
- Definition Classes
-
StandaloneWSRequest
Returns this request with the given cookies, discarding the existing ones.
Returns this request with the given cookies, discarding the existing ones.
Value parameters
- cookie
-
the cookies to be used
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 virtual host to use in this request
Sets the virtual host to use in this request
Attributes
- Definition Classes
-
StandaloneWSRequest
Deprecated methods
Returns this request with the given headers, adding to the existing ones.
Returns this request with the given headers, adding to the existing ones.
Value parameters
- headers
-
the headers to be used
Attributes
- Deprecated
- true
Returns this request with the given query string parameters, adding to the existing ones.
Returns this request with the given query string parameters, adding to the existing ones.
Value parameters
- parameters
-
the query string parameters
Attributes
- Deprecated
- true
Inherited 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
- Inherited from:
- 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
- Inherited from:
- StandaloneWSRequest
Attributes
- Inherited from:
- JsonBodyWritables
The content type for this request, if any is defined.
The content type for this request, if any is defined.
Attributes
- Inherited from:
- StandaloneWSRequest
The cookies for this request
The cookies for this request
Attributes
- Inherited from:
- StandaloneWSRequest
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
Execute this request and stream the response body.
Execute this request and stream the response body.
Attributes
- Inherited from:
- StandaloneWSRequest
The URI for this request
The URI for this request
Attributes
- Inherited from:
- StandaloneWSRequest
The base URL for this request
The base URL for this request
Attributes
- Inherited from:
- StandaloneWSRequest
Sets whether url encoding should be disabled
Sets whether url encoding should be disabled
Attributes
- Inherited from:
- StandaloneWSRequest
Implicits
Inherited implicits
Attributes
- Inherited from:
- WSBodyWritables
Creates an SourceBody with "application/octet-stream" content type from a file.
Creates an SourceBody with "application/octet-stream" content type from a file.
Attributes
- Inherited from:
- DefaultBodyWritables
Creates an SourceBody with "application/octet-stream" content type from an inputstream.
Creates an SourceBody with "application/octet-stream" content type from an inputstream.
Attributes
- Inherited from:
- DefaultBodyWritables
Creates an SourceBody with "application/octet-stream" content type from a file.
Creates an SourceBody with "application/octet-stream" content type from a file.
Attributes
- Inherited from:
- DefaultBodyWritables
Creates an InMemoryBody with "application/octet-stream" content type from an array of bytes.
Creates an InMemoryBody with "application/octet-stream" content type from an array of bytes.
Attributes
- Inherited from:
- DefaultBodyWritables
Creates an InMemoryBody with "application/octet-stream" content type from a bytebuffer.
Creates an InMemoryBody with "application/octet-stream" content type from a bytebuffer.
Attributes
- Inherited from:
- DefaultBodyWritables
Creates an InMemoryBody with "application/octet-stream" content type.
Creates an InMemoryBody with "application/octet-stream" content type.
Attributes
- Inherited from:
- DefaultBodyWritables
Creates an InMemoryBody with "text/xml" content type.
Creates an InMemoryBody with "text/xml" content type.
Attributes
- Inherited from:
- XMLBodyWritables
Creates an InMemoryBody with "application/json" content type, using the static ObjectMapper.
Creates an InMemoryBody with "application/json" content type, using the static ObjectMapper.
Attributes
- Inherited from:
- JsonBodyWritables
Creates an InMemoryBody with "text/xml" content type.
Creates an InMemoryBody with "text/xml" content type.
Attributes
- Inherited from:
- XMLBodyWritables
Creates an InMemoryBody with "text/xml" content type.
Creates an InMemoryBody with "text/xml" content type.
Attributes
- Inherited from:
- XMLBodyWritables
Creates an InMemoryBody with "text/plain" content type.
Creates an InMemoryBody with "text/plain" content type.
Attributes
- Inherited from:
- DefaultBodyWritables
Creates an InMemoryBody with "text/plain" content type from a StringBuilder
Creates an InMemoryBody with "text/plain" content type from a StringBuilder
Attributes
- Inherited from:
- DefaultBodyWritables
Creates a BodyWritable with an identity function, with "application/octet-stream" content type.
Creates a BodyWritable with an identity function, with "application/octet-stream" content type.
Attributes
- Inherited from:
- DefaultBodyWritables
Creates an InMemoryBody with "application/x-www-form-urlencoded" content type.
Creates an InMemoryBody with "application/x-www-form-urlencoded" content type.
Attributes
- Inherited from:
- DefaultBodyWritables
Attributes
- Inherited from:
- DefaultBodyWritables