MainRoutes

cask.main.MainRoutes
class MainRoutes extends Main, Routes

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

Attributes

Graph
Supertypes
trait Routes
class Main
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def allRoutes: Seq[Routes]

Inherited methods

Attributes

Inherited from:
Routes
def createActorContext: Simple

Attributes

Inherited from:
Main
def createExecutionContext: ExecutionContextExecutorService

Attributes

Inherited from:
Main
def debugMode: Boolean

Attributes

Inherited from:
Main
def decorators: Seq[Decorator[_, _, _, _]]

Attributes

Inherited from:
Routes
def defaultHandler: BlockingHandler

Attributes

Inherited from:
Main

Attributes

Inherited from:
Main
def handleEndpointError(routes: Routes, metadata: EndpointMetadata[_], e: Error, req: Request): Raw

Attributes

Inherited from:
Main

Attributes

Inherited from:
Main

Attributes

Inherited from:
Main
def host: String

Attributes

Inherited from:
Main
def main(args: Array[String]): Unit

Attributes

Inherited from:
Main
def mainDecorators: Seq[Decorator[_, _, _, _]]

Attributes

Inherited from:
Main
def port: Int

Attributes

Inherited from:
Main
def verbose: Boolean

Attributes

Inherited from:
Main

Inherited fields

val executionContext: ExecutionContextExecutorService

Attributes

Inherited from:
Main

Implicits

Inherited implicits

implicit val actorContext: Context

Attributes

Inherited from:
Main
implicit def log: Logger

Attributes

Inherited from:
Main