WebServiceWithWebSocket

replpp.server.WebServiceWithWebSocket
abstract class WebServiceWithWebSocket[T <: HasUUID](val host: String, val port: Int, authenticationMaybe: Option[UsernamePasswordAuth]) extends MainRoutes

Attributes

Graph
Supertypes
class MainRoutes
trait Routes
class Main
class Object
trait Matchable
class Any
Show all
Known subtypes
class ReplServer

Members list

Type members

Classlikes

class basicAuth extends RawDecorator

Attributes

Supertypes
trait RawDecorator
trait Decorator[Raw, Raw, Any]
class Annotation
class Object
trait Matchable
class Any
Show all

Value members

Abstract methods

def resultToJson(result: T, success: Boolean): Obj

Concrete methods

def getResult(uuidParam: String)(isAuthorized: Boolean): Response[Obj]
def handler(): WebsocketResult
def returnResult(result: T): Unit

Inherited methods

def allRoutes: Seq[Routes]

Attributes

Inherited from:
MainRoutes
def caskMetadata: RoutesEndpointsMetadata[Routes]

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
def dispatchTrie: DispatchTrie[Map[String, (Routes, EndpointMetadata[_])]]

Attributes

Inherited from:
Main
def handleEndpointError(routes: Routes, metadata: EndpointMetadata[_], e: Error): Response[String]

Attributes

Inherited from:
Main

Attributes

Inherited from:
Main
def handleNotFound(): Raw

Attributes

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

Attributes

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

Attributes

Inherited from:
Main
def verbose: Boolean

Attributes

Inherited from:
Main

Concrete fields

override val host: String
override val port: Int

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