Attributes
- Companion
- class
- Graph
-
- Supertypes
-
trait Producttrait Mirrorclass HttpClienttrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
- Self type
-
HttpClient.type
Members list
Type members
Inherited types
The names of the product elements
The names of the product elements
Attributes
- Inherited from:
- Mirror
The name of the type
The name of the type
Attributes
- Inherited from:
- Mirror
Value members
Inherited methods
Attributes
- Inherited from:
- HttpClient
Builds on the send method by supporting basic restful calls that calls a URL and returns a case class as the response.
Builds on the send method by supporting basic restful calls that calls a URL and returns a case class as the response.
Type parameters
- Response
-
the response type
Attributes
- Returns
-
Response
- Inherited from:
- HttpClient
Builds on the send method by supporting basic restful calls that calls a URL and returns a case class as the response.
Builds on the send method by supporting basic restful calls that calls a URL and returns a case class as the response.
Type parameters
- Response
-
the response type
Attributes
- Returns
-
Try[Response]
- Inherited from:
- HttpClient
Attributes
- Inherited from:
- HttpClient
Attributes
- Inherited from:
- HttpClient
Sets the content to be sent optionally. If this request is set to GET, it will automatically be changed to POST.
Sets the content to be sent optionally. If this request is set to GET, it will automatically be changed to POST.
Value parameters
- content
-
the content to set - if None, nothing will be changed
Attributes
- Returns
-
HttpClient
- Inherited from:
- HttpClient
Sets the content to be sent. If this request is set to GET, it will automatically be changed to POST.
Sets the content to be sent. If this request is set to GET, it will automatically be changed to POST.
Value parameters
- content
-
the content to set
Attributes
- Returns
-
HttpClient
- Inherited from:
- HttpClient
Attributes
- Inherited from:
- HttpClient
Attributes
- Inherited from:
- HttpClient
Attributes
- Inherited from:
- HttpClient
Attributes
- Inherited from:
- HttpClient
Attributes
- Inherited from:
- HttpClient
Attributes
- Inherited from:
- HttpClient
Attributes
- Inherited from:
- HttpClient
Attributes
- Inherited from:
- HttpClient
Attributes
- Inherited from:
- HttpClient
Attributes
- Inherited from:
- HttpClient
Attributes
- Inherited from:
- HttpClient
Attributes
- Inherited from:
- HttpClient
Convenience method to sending JSON content.
Convenience method to sending JSON content.
Value parameters
- json
-
the JSON content to send
Attributes
- Returns
-
HttpClient
- Inherited from:
- HttpClient
Attributes
- Inherited from:
- HttpClient
Attributes
- Inherited from:
- HttpClient
Attributes
- Inherited from:
- HttpClient
Attributes
- Inherited from:
- HttpClient
Attributes
- Inherited from:
- HttpClient
Attributes
- Inherited from:
- HttpClient
Attributes
- Inherited from:
- HttpClient
Attributes
- Inherited from:
- HttpClient
Attributes
- Inherited from:
- HttpClient
Attributes
- Inherited from:
- HttpClient
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- HttpClient
Attributes
- Inherited from:
- HttpClient
Attributes
- Inherited from:
- HttpClient
Similar to the restful call, but provides a different return-type if the response is an error.
Similar to the restful call, but provides a different return-type if the response is an error.
Type parameters
- Failure
-
the failure (non-OK response) response type
- Request
-
the request type
- Success
-
the success (OK response) response type
Value parameters
- request
-
the request object to convert to JSON and send
Attributes
- Returns
-
either Failure or Success
- Inherited from:
- HttpClient
Builds on the send method by supporting basic restful calls that take a case class as the request and returns a case class as the response.
Builds on the send method by supporting basic restful calls that take a case class as the request and returns a case class as the response.
Type parameters
- Request
-
the request type
- Response
-
the response type
Value parameters
- request
-
the request object to convert to JSON and send
Attributes
- Returns
-
Future[Response]
- Inherited from:
- HttpClient
Attributes
- Inherited from:
- HttpClient
Attributes
- Inherited from:
- HttpClient
Attributes
- Inherited from:
- HttpClient
Sends an HttpRequest and receives an asynchronous HttpResponse future.
Sends an HttpRequest and receives an asynchronous HttpResponse future.
Attributes
- Returns
-
Future[HttpResponse]
- Inherited from:
- HttpClient
Attributes
- Inherited from:
- HttpClient
Attributes
- Inherited from:
- HttpClient
Attributes
- Inherited from:
- HttpClient
Attributes
- Inherited from:
- HttpClient
Attributes
- Inherited from:
- HttpClient
Attributes
- Inherited from:
- HttpClient