scala-repl-pp
scala-repl-pp
replpp
Config
Config
Dependencies
InteractiveShell
Main
PPrinter
ReplDriver
ScriptRunner
replpp.server
EmbeddedRepl
HasUUID
QueryResult
ReplDriver
ReplServer
ReplServer
UserRunnable
WebServiceWithWebSocket
basicAuth
scala-repl-pp
/
replpp.server
/
WebServiceWithWebSocket
WebServiceWithWebSocket
abstract
class
WebServiceWithWebSocket
[
T
<:
HasUUID
](
serverHost:
String
,
serverPort:
Int
,
serverAuthUsername:
String
,
serverAuthPassword:
String
)
extends
MainRoutes
Graph
Supertypes
Known subtypes
class
MainRoutes
trait
Routes
class
Main
class
Object
trait
Matchable
class
Any
class
ReplServer
Type members
Value members
Implicits
Type members
Classlikes
class
basicAuth
extends
RawDecorator
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
Definition Classes
Main
override
def
port
:
Int
Definition Classes
Main
def
returnResult
(
result:
T
):
Unit
Inherited methods
def
allRoutes
:
Seq
[
Routes
]
Inherited from:
MainRoutes
def
caskMetadata
:
RoutesEndpointsMetadata
[
Routes
]
Inherited from:
Routes
def
createActorContext
:
Simple
Inherited from:
Main
def
createExecutionContext
:
ExecutionContextExecutorService
Inherited from:
Main
def
debugMode
:
Boolean
Inherited from:
Main
def
decorators
:
Seq
[
Decorator
[
_
,
_
,
_
]]
Inherited from:
Routes
def
defaultHandler
:
BlockingHandler
Inherited from:
Main
def
dispatchTrie
:
DispatchTrie
[
Map
[
String
, (
Routes
,
EndpointMetadata
[
_
])]]
Inherited from:
Main
def
handleEndpointError
(
routes:
Routes
,
metadata:
EndpointMetadata
[
_
],
e:
Error
):
Response
[
String
]
Inherited from:
Main
def
handleMethodNotAllowed
():
Raw
Inherited from:
Main
def
handleNotFound
():
Raw
Inherited from:
Main
def
main
(
args:
Array
[
String
]):
Unit
Inherited from:
Main
def
mainDecorators
:
Seq
[
Decorator
[
_
,
_
,
_
]]
Inherited from:
Main
def
verbose
:
Boolean
Inherited from:
Main
Concrete fields
var
openConnections
:
Set
[
WsChannelActor
]
val
resultMap
:
ConcurrentHashMap
[
UUID
, (
T
,
Boolean
)]
val
unauthorizedResponse
:
Response
[
Obj
]
Inherited fields
val
executionContext
:
ExecutionContextExecutorService
Inherited from:
Main
Implicits
Inherited implicits
implicit
val
actorContext
:
Context
Inherited from:
Main
implicit
def
log
:
Logger
Inherited from:
Main