com.sksamuel.scruffy

Scruffy

class Scruffy extends Logging with EndpointContainer

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

Instance Constructors

  1. new Scruffy(config: ScruffyConfiguration)

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

    Definition Classes
    Any
  5. def clone(): AnyRef

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

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

    Definition Classes
    AnyRef → Any
  8. def filter(filter: Filter, path: String = "/*"): Unit

    Add a processor that acts as a filter.

    Add a processor that acts as a filter. A filter is a processsor that will be executed for all matching requests before any processors from the endpoint that handles the request.

    This filter will be applied to any endpoints that are mounted after the registration of this filter.

    Any filters added here are executed before any endpoint specific filters.

    filter

    the processor to add

    path

    the path to match requests against, defaults to all paths

    Definition Classes
    EndpointContainer
  9. val filters: ListBuffer[Filter]

    Definition Classes
    EndpointContainer
  10. def finalize(): Unit

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

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

    Definition Classes
    AnyRef → Any
  13. val httpEndpoints: ListBuffer[HttpEndpoint]

    Definition Classes
    EndpointContainer
  14. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  15. def listener(listener: ScruffyLifecycleListener): Unit

  16. val listeners: ListBuffer[ScruffyLifecycleListener]

    Definition Classes
    EndpointContainer
  17. val logger: Logger

    Attributes
    protected
    Definition Classes
    Logging
  18. def mount(provider: EndpointProvider): Unit

    Definition Classes
    EndpointContainer
  19. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  22. def onShutdown(f: ⇒ Unit): Unit

  23. def onStart(f: ⇒ Unit): Unit

  24. def shutdown(): Unit

  25. def start(): ScruffyLifecycle

  26. val staticEndpoints: ListBuffer[StaticEndpoint]

    Definition Classes
    EndpointContainer
  27. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  28. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. val websocketEndpoints: ListBuffer[WebsocketEndpoint]

    Definition Classes
    EndpointContainer

Inherited from EndpointContainer

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped