com.sksamuel.scruffy

ScruffyContext

Related Docs: object ScruffyContext | package scruffy

case class ScruffyContext(endpoints: List[HttpEndpoint], listeners: List[HttpListener], filters: List[HttpFilter], errorHandler: ErrorHandler, notFoundHandler: NotFoundHandler, sessionManager: Option[SessionManager], sessionConfig: SessionConfig, requestIdGenerator: Option[RequestIdGenerator], scalper: Scalper) extends StrictLogging with Product with Serializable

Contains the configuration etc for a scruffy managed set of endpoints.

Linear Supertypes
Serializable, Serializable, Product, Equals, StrictLogging, Logging, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ScruffyContext
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. StrictLogging
  7. Logging
  8. AnyRef
  9. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ScruffyContext(endpoints: List[HttpEndpoint], listeners: List[HttpListener], filters: List[HttpFilter], errorHandler: ErrorHandler, notFoundHandler: NotFoundHandler, sessionManager: Option[SessionManager], sessionConfig: SessionConfig, requestIdGenerator: Option[RequestIdGenerator], scalper: Scalper)

Value Members

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

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

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

    Definition Classes
    AnyRef → Any
  4. def add(filter: HttpFilter): ScruffyContext

  5. def add(listener: HttpListener): ScruffyContext

    Registers a ScruffyListener with this instance.

    Registers a ScruffyListener with this instance. Multiple listeners can be added.

  6. def add(endpoint: HttpEndpoint): ScruffyContext

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. val endpoints: List[HttpEndpoint]

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

    Definition Classes
    AnyRef
  11. def errorHandler(eh: ErrorHandler): ScruffyContext

  12. val errorHandler: ErrorHandler

  13. val filters: List[HttpFilter]

  14. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  17. val listeners: List[HttpListener]

  18. val logger: Logger

    Attributes
    protected
    Definition Classes
    StrictLogging → Logging
  19. def merge(other: ScruffyContext): ScruffyContext

  20. def mount(providers: HttpEndpointProvider*): ScruffyContext

    Mount all the http endpoints specified in this endpoint provider.

    Mount all the http endpoints specified in this endpoint provider. Multiple providers can be registered and the order of registration does not matter.

    providers

    the HttpEndpointProviders that contain the http endpoints to register.

  21. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  22. def notFound(nfh: NotFoundHandler): ScruffyContext

  23. val notFoundHandler: NotFoundHandler

  24. final def notify(): Unit

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

    Definition Classes
    AnyRef
  26. val requestIdGenerator: Option[RequestIdGenerator]

  27. val scalper: Scalper

  28. val sessionConfig: SessionConfig

  29. def sessionManager(manager: SessionManager): ScruffyContext

  30. val sessionManager: Option[SessionManager]

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

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from StrictLogging

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped