WebServiceWithWebSocket

replpp.server.WebServiceWithWebSocket
abstract class WebServiceWithWebSocket[T <: HasUUID](serverHost: String, serverPort: Int, serverAuthUsername: String, serverAuthPassword: String) extends MainRoutes

Attributes

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

Members list

Concise view

Type members

Classlikes

class basicAuth extends RawDecorator

Attributes

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

Value members

Abstract methods

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

Concrete methods

def getResult(uuidParam: String)(isAuthorized: Boolean): Response[Obj]
def handler(): WebsocketResult
override def host: String

Attributes

Definition Classes
Main
override def port: Int

Attributes

Definition Classes
Main
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

var openConnections: Set[WsChannelActor]
val resultMap: ConcurrentHashMap[UUID, (T, Boolean)]
val unauthorizedResponse: Response[Obj]

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