Object/Class

io.youi.client

HttpClient

Related Docs: class HttpClient | package client

Permalink

object HttpClient extends HttpClient

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

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
    Definition Classes
    HttpClient
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def autoCall[Response](c: Context)(implicit r: scala.reflect.macros.blackbox.Context.WeakTypeTag[Response]): scala.reflect.macros.blackbox.Context.Expr[Future[Response]]

    Permalink
  7. def autoRestful[Request, Response](c: Context)(request: scala.reflect.macros.blackbox.Context.Expr[Request])(implicit req: scala.reflect.macros.blackbox.Context.WeakTypeTag[Request], res: scala.reflect.macros.blackbox.Context.WeakTypeTag[Response]): scala.reflect.macros.blackbox.Context.Expr[Future[Response]]

    Permalink
  8. 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]

    Definition Classes
    HttpClient
  9. def clearSessionManager(): HttpClient

    Permalink
    Definition Classes
    HttpClient
  10. def clone(): AnyRef

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

    Permalink
    Definition Classes
    HttpClient
  12. def dropNullValuesInJson(dropNullValuesInJson: Boolean): HttpClient

    Permalink
    Definition Classes
    HttpClient
  13. val dropNullValuesInJson: Boolean

    Permalink
    Definition Classes
    HttpClient
  14. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    HttpClient
  17. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    HttpClient
  19. def header(header: Header): HttpClient

    Permalink
    Definition Classes
    HttpClient
  20. val implementation: HttpClientImplementation

    Permalink
    Definition Classes
    HttpClient
  21. def interceptor(interceptor: Interceptor): HttpClient

    Permalink
    Definition Classes
    HttpClient
  22. val interceptor: Interceptor

    Permalink
    Definition Classes
    HttpClient
  23. final def isInstanceOf[T0]: Boolean

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

    Permalink
    Definition Classes
    HttpClient
  25. def method(method: Method): HttpClient

    Permalink
    Definition Classes
    HttpClient
  26. def modify(f: (HttpRequest) ⇒ HttpRequest): HttpClient

    Permalink
    Definition Classes
    HttpClient
  27. final def ne(arg0: AnyRef): Boolean

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

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

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

    Permalink
    Definition Classes
    HttpClient
  31. def path(path: Path): HttpClient

    Permalink
    Definition Classes
    HttpClient
  32. def post: HttpClient

    Permalink
    Definition Classes
    HttpClient
  33. lazy val printer: Printer

    Permalink
    Attributes
    protected
    Definition Classes
    HttpClient
  34. val request: HttpRequest

    Permalink
    Definition Classes
    HttpClient
  35. 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]

    Definition Classes
    HttpClient
  36. def retries(retries: Int): HttpClient

    Permalink
    Definition Classes
    HttpClient
  37. val retries: Int

    Permalink
    Definition Classes
    HttpClient
  38. val retryDelay: FiniteDuration

    Permalink
    Definition Classes
    HttpClient
  39. 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]

    Definition Classes
    HttpClient
  40. def sessionManager(sessionManager: SessionManager): HttpClient

    Permalink
    Definition Classes
    HttpClient
  41. val sessionManager: Option[SessionManager]

    Permalink
    Definition Classes
    HttpClient
  42. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    HttpClient
  44. final def wait(): Unit

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

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

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

Inherited from HttpClient

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped