Attributes
- Companion:
- class
- Graph
- Supertypes
- trait Producttrait Mirrorclass HttpClienttrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
- 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.
Attributes
- Response
the response type
- 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.
Attributes
- Response
the response type
- 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.
Attributes
- content
the content to set - if None, nothing will be changed
- 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.
Attributes
- content
the content to set
- 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
Convenience method to sending JSON content.
Convenience method to sending JSON content.
Attributes
- json
the JSON content to send
- 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.
Attributes
- Failure
the failure (non-OK response) response type
- Request
the request type
- Success
the success (OK response) response type
- request
the request object to convert to JSON and send
- 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.
Attributes
- Request
the request type
- Response
the response type
- request
the request object to convert to JSON and send
- Returns:
Future[Response]
- Inherited from:
- HttpClient
Attributes
- 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