MainRoutes

class MainRoutes extends Main with Routes

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

trait Routes
class Main
class Object
trait Matchable
class Any

Value members

Concrete methods

def allRoutes: Seq[Routes]

Inherited methods

def createActorContext: Simple
Inherited from:
Main
def createExecutionContext: ExecutionContextExecutor
Inherited from:
Main
def debugMode: Boolean
Inherited from:
Main
def decorators: Seq[Decorator[_, _, _]]
Inherited from:
Routes
def defaultHandler: BlockingHandler
Inherited from:
Main
Inherited from:
Main
def handleEndpointError(routes: Routes, metadata: EndpointMetadata[_], e: Error): Response[String]
Inherited from:
Main
Inherited from:
Main
Inherited from:
Main
def host: String
Inherited from:
Main
def main(args: Array[String]): Unit
Inherited from:
Main
def mainDecorators: Seq[Decorator[_, _, _]]
Inherited from:
Main
def port: Int
Inherited from:
Main
def verbose: Boolean
Inherited from:
Main

Inherited fields

val executionContext: ExecutionContextExecutor
Inherited from:
Main

Implicits

Inherited implicits

implicit val actorContext: Context
Inherited from:
Main
implicit def log: Logger
Inherited from:
Main