Packages

c

cask.main

MainRoutes

class MainRoutes extends Main with Routes

A combination of cask.Main and cask.Routes, ideal for small one-file web applications.

Linear Supertypes
Routes, Main, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MainRoutes
  2. Routes
  3. Main
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new MainRoutes()

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. implicit val actorContext: Simple
    Definition Classes
    Routes
  5. def allRoutes: Seq[MainRoutes]
    Definition Classes
    MainRoutesMain
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def caskMetadata: RoutesEndpointsMetadata[MainRoutes.this.type]
    Definition Classes
    Routes
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  9. def debugMode: Boolean
    Definition Classes
    Main
  10. def decorators: Seq[Decorator[_, _, _]]
    Definition Classes
    Routes
  11. def defaultHandler: BlockingHandler
    Definition Classes
    Main
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. def handleEndpointError(routes: Routes, metadata: EndpointMetadata[_], e: Error): model.Response[String]
    Definition Classes
    Main
  16. def handleNotFound(): Raw
    Definition Classes
    Main
  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. def host: String
    Definition Classes
    Main
  19. def initialize()(implicit routes: RoutesEndpointsMetadata[MainRoutes.this.type]): Unit
    Attributes
    protected[this]
    Definition Classes
    Routes
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. implicit def log: Console
    Definition Classes
    Main
  22. def main(args: Array[String]): Unit
    Definition Classes
    Main
  23. def mainDecorators: Seq[Decorator[_, _, _]]
    Definition Classes
    Main
  24. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  26. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  27. def port: Int
    Definition Classes
    Main
  28. def routeTries: Map[String, DispatchTrie[(Routes, EndpointMetadata[_])]]
    Definition Classes
    Main
  29. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  30. def toString(): String
    Definition Classes
    AnyRef → Any
  31. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  32. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  33. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Routes

Inherited from Main

Inherited from AnyRef

Inherited from Any

Ungrouped