io.keen.client.scala

Client

class Client extends HttpAdapterComponent with Logging

A keen.io API client. A plain Client instance doesn't do a whole lot—you'll want to mix in AccessLevels like Writer, Reader, or Master depending on the API operations that you need to perform.

The client defaults to using a built-in adapter for the Spray HTTP toolkit for HTTP requests. Another HTTP client library can be plugged in by implementing the HttpAdapter interface.

Source
Client.scala
Example:
  1. Overriding the default HttpAdapter

    val keen = new Client {
    override val httpAdapter = new HttpAdapterDispatch
    }
See also

The Keen IO API Reference

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Client
  2. Logging
  3. HttpAdapterComponent
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Client(config: Config = ..., scheme: String = "https", authority: String = "api.keen.io", version: String = "3.0")

    config

    Client configuration, by default loaded from application.conf.

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. val authority: String

  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def debug(msg: ⇒ Any, t: ⇒ Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  10. def debug(msg: ⇒ Any): Unit

    Attributes
    protected
    Definition Classes
    Logging
  11. val environment: Option[String]

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

    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  14. def error(msg: ⇒ Any, t: ⇒ Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  15. def error(msg: ⇒ Any): Unit

    Attributes
    protected
    Definition Classes
    Logging
  16. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  18. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  19. val httpAdapter: HttpAdapter

    The concrete HttpAdapter used to make API requests.

    The concrete HttpAdapter used to make API requests.

    Definition Classes
    ClientHttpAdapterComponent
  20. def info(msg: ⇒ Any, t: ⇒ Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  21. def info(msg: ⇒ Any): Unit

    Attributes
    protected
    Definition Classes
    Logging
  22. def isDebugEnabled: Boolean

    Attributes
    protected
    Definition Classes
    Logging
  23. def isErrorEnabled: Boolean

    Attributes
    protected
    Definition Classes
    Logging
  24. def isInfoEnabled: Boolean

    Attributes
    protected
    Definition Classes
    Logging
  25. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  26. def isTraceEnabled: Boolean

    Attributes
    protected
    Definition Classes
    Logging
  27. def isWarnEnabled: Boolean

    Attributes
    protected
    Definition Classes
    Logging
  28. def logger: Logger

    Attributes
    protected
    Definition Classes
    Logging
  29. def loggerName: String

    Attributes
    protected
    Definition Classes
    Logging
  30. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  31. final def notify(): Unit

    Definition Classes
    AnyRef
  32. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  33. val scheme: String

  34. val settings: Settings

    The client's configuration settings.

  35. def shutdown(): Unit

    Shuts down the client's HttpAdapter, to perform cleanup such as closing connections.

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

    Definition Classes
    AnyRef
  37. def toString(): String

    Definition Classes
    AnyRef → Any
  38. def trace(msg: ⇒ Any, t: ⇒ Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  39. def trace(msg: ⇒ Any): Unit

    Attributes
    protected
    Definition Classes
    Logging
  40. val version: String

  41. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  44. def warn(msg: ⇒ Any, t: ⇒ Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  45. def warn(msg: ⇒ Any): Unit

    Attributes
    protected
    Definition Classes
    Logging

Inherited from Logging

Inherited from HttpAdapterComponent

Inherited from AnyRef

Inherited from Any

Ungrouped