Class/Object

io.youi.client

HttpClient

Related Docs: object HttpClient | package client

Permalink

case class HttpClient(request: HttpRequest, implementation: HttpClientImplementation, retries: Int, retryDelay: FiniteDuration, sessionManager: Option[SessionManager], interceptor: Interceptor, dropNullValuesInJson: Boolean) extends Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. HttpClient
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new HttpClient(request: HttpRequest, implementation: HttpClientImplementation, retries: Int, retryDelay: FiniteDuration, sessionManager: Option[SessionManager], interceptor: Interceptor, dropNullValuesInJson: Boolean)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def appendParams(params: (String, String)*): HttpClient

    Permalink
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. macro def call[Response]: Future[Response]

    Permalink

    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.

    Response

    the response type

    returns

    Future[Response]

  7. def clearSessionManager(): HttpClient

    Permalink
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def content(content: Content): HttpClient

    Permalink
  10. def dropNullValuesInJson(dropNullValuesInJson: Boolean): HttpClient

    Permalink
  11. val dropNullValuesInJson: Boolean

    Permalink
  12. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. def get: HttpClient

    Permalink
  15. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  16. def header(key: String, value: String): HttpClient

    Permalink
  17. def header(header: Header): HttpClient

    Permalink
  18. val implementation: HttpClientImplementation

    Permalink
  19. def interceptor(interceptor: Interceptor): HttpClient

    Permalink
  20. val interceptor: Interceptor

    Permalink
  21. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  22. def json(json: Json): HttpClient

    Permalink
  23. def method(method: Method): HttpClient

    Permalink
  24. def modify(f: (HttpRequest) ⇒ HttpRequest): HttpClient

    Permalink
  25. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  26. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  27. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  28. def params(params: (String, String)*): HttpClient

    Permalink
  29. def path(path: Path): HttpClient

    Permalink
  30. def post: HttpClient

    Permalink
  31. lazy val printer: Printer

    Permalink
    Attributes
    protected
  32. val request: HttpRequest

    Permalink
  33. macro def restful[Request, Response](request: Request): Future[Response]

    Permalink

    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.

    Request

    the request type

    Response

    the response type

    request

    the request object to convert to JSON and send

    returns

    Future[Response]

  34. def retries(retries: Int): HttpClient

    Permalink
  35. val retries: Int

    Permalink
  36. val retryDelay: FiniteDuration

    Permalink
  37. final def send(retries: Int = this.retries)(implicit executionContext: ExecutionContext): Future[HttpResponse]

    Permalink

    Sends an HttpRequest and receives an asynchronous HttpResponse future.

    Sends an HttpRequest and receives an asynchronous HttpResponse future.

    returns

    Future[HttpResponse]

  38. def sessionManager(sessionManager: SessionManager): HttpClient

    Permalink
  39. val sessionManager: Option[SessionManager]

    Permalink
  40. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  41. def url(url: URL): HttpClient

    Permalink
  42. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  44. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped