ReplServer

replpp.server.ReplServer
See theReplServer companion object
class ReplServer(repl: EmbeddedRepl, serverHost: String, serverPort: Int, serverAuthUsername: String, serverAuthPassword: String) extends WebServiceWithWebSocket[QueryResult]

Attributes

Companion:
object
Graph
Supertypes
class MainRoutes
trait Routes
class Main
class Object
trait Matchable
class Any

Members list

Concise view

Type members

Inherited classlikes

class basicAuth extends RawDecorator

Attributes

Inherited from:
WebServiceWithWebSocket
Graph
Supertypes
trait RawDecorator
trait Decorator[Raw, Raw, Any]
class Annotation
class Object
trait Matchable
class Any

Value members

Concrete methods

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

Attributes

Definition Classes
override def handler(): WebsocketResult

Attributes

Definition Classes
def postQuery(query: String)(isAuthorized: Boolean): Response[Obj]
def postQuerySimple(query: String)(isAuthorized: Boolean): Response[Obj]
override def resultToJson(result: QueryResult, success: Boolean): Obj

Attributes

Definition Classes

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
override def host: String

Attributes

Definition Classes
Inherited from:
WebServiceWithWebSocket
def main(args: Array[String]): Unit

Attributes

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

Attributes

Inherited from:
Main
override def port: Int

Attributes

Definition Classes
Inherited from:
WebServiceWithWebSocket
def returnResult(result: QueryResult): Unit

Attributes

Inherited from:
WebServiceWithWebSocket
def verbose: Boolean

Attributes

Inherited from:
Main

Inherited fields

val executionContext: ExecutionContextExecutorService

Attributes

Inherited from:
Main
var openConnections: Set[WsChannelActor]

Attributes

Inherited from:
WebServiceWithWebSocket
val resultMap: ConcurrentHashMap[UUID, (QueryResult, Boolean)]

Attributes

Inherited from:
WebServiceWithWebSocket
val unauthorizedResponse: Response[Obj]

Attributes

Inherited from:
WebServiceWithWebSocket

Implicits

Inherited implicits

implicit val actorContext: Context

Attributes

Inherited from:
Main
implicit def log: Logger

Attributes

Inherited from:
Main