Class

com.groupon.sparklint

Sparklint

Related Doc: package sparklint

Permalink

class Sparklint extends AdhocServer with StaticFileService with HeartBeatService

The class that contains the backend and ui

Since

1.0.5

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Sparklint
  2. HeartBeatService
  3. StaticFileService
  4. AdhocServer
  5. Logging
  6. RoutingMap
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Sparklint(config: SparklintConfig)

    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 DEFAULT_PORT: Int

    Permalink
    Definition Classes
    SparklintAdhocServer
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. val backend: SparklintBackend

    Permalink
  7. def bindServer(port: Int): Try[Server]

    Permalink
    Definition Classes
    AdhocServer
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. val frontend: SparklintFrontend

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

    Permalink
    Definition Classes
    AnyRef → Any
  14. def getServerAddress: Option[String]

    Permalink
    Definition Classes
    AdhocServer
  15. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  16. def heartBeatService: HttpService

    Permalink
    Definition Classes
    HeartBeatService
  17. def htmlResponse(textResponse: Task[Response]): Task[Response]

    Permalink
    Definition Classes
    AdhocServer
  18. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  19. def jsonResponse(textResponse: Task[Response]): Task[Response]

    Permalink
    Definition Classes
    AdhocServer
  20. def log: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  21. def logDebug(message: String): Unit

    Permalink
    Definition Classes
    Logging
  22. def logError(message: String, ex: Throwable): Unit

    Permalink
    Definition Classes
    Logging
  23. def logError(message: String): Unit

    Permalink
    Definition Classes
    Logging
  24. def logInfo(message: String): Unit

    Permalink
    Definition Classes
    Logging
  25. def logTrace(message: String): Unit

    Permalink
    Definition Classes
    Logging
  26. def logWarn(message: String): Unit

    Permalink
    Definition Classes
    Logging
  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 registerService(prefix: String, service: HttpService): Unit

    Permalink
    Definition Classes
    RoutingMap
  31. def router: HttpService

    Permalink
    Definition Classes
    RoutingMap
  32. var server: Option[Server]

    Permalink
    Definition Classes
    AdhocServer
  33. def startServer(port: Option[Int] = None): Unit

    Permalink

    start the server with the routingMap and port

    start the server with the routingMap and port

    port

    port to use

    Definition Classes
    AdhocServer
    Annotations
    @throws( ... )
    Exceptions thrown

    IllegalArgumentException if the port is smaller than 0 or greater than 65535

  34. def staticFileService: HttpService

    Permalink
    Definition Classes
    StaticFileService
  35. def stopServer(): Unit

    Permalink
    Definition Classes
    AdhocServer
  36. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  37. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  38. final def wait(): Unit

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

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

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

Inherited from HeartBeatService

Inherited from StaticFileService

Inherited from AdhocServer

Inherited from Logging

Inherited from RoutingMap

Inherited from AnyRef

Inherited from Any

Ungrouped