snunit-cask
snunit-cask
cask
cask.decorators
compress
cask.endpoints
FormReader
FormReader
JsReader
JsReader
JsonData
JsonData
JsonDataImpl
ParamReader
ParamReader
CookieParam
FormDataParam
HttpExchangeParam
NilParam
RequestParam
QueryParamReader
QueryParamReader
BooleanParam
ByteParam
DoubleParam
FloatParam
IntParam
LongParam
ShortParam
SimpleParam
StringParam
StaticUtil
WebEndpoint
WebEndpoint
WebsocketResult
WebsocketResult
Listener
Response
WsActor
WsChannelActor
WsHandler
delete
get
getJson
options
patch
post
postForm
postJson
put
route
staticFiles
staticResources
websocket
cask.internal
Conversion
Conversion
DispatchTrie
DispatchTrie
Util
cask.main
ErrorMsgs
Main
Main
DefaultHandler
MainRoutes
Routes
cask.model
Abort
Cookie
Cookie
FormEntry
FormEntry
FormFile
FormValue
Redirect
Request
Response
Response
Data
BooleanData
NumericData
UnitData
WritableData
Data
DataCompanion
StaticFile
StaticResource
Status
Status
Accepted
BadGateway
BadRequest
Conflict
Continue
Created
EnhanceYourCalm
ExpectationFailed
Forbidden
Found
GatewayTimeout
Gone
HTTPVersionNotSupported
InternalServerError
LengthRequired
MethodNotAllowed
MovedPermanently
MultipleChoices
NoContent
NonAuthoritativeInformation
NotAcceptable
NotFound
NotImplemented
NotModified
OK
PartialContent
PaymentRequired
PermanentRedirect
PreconditionFailed
ProxyAuthenticationRequired
RequestEntityTooLarge
RequestTimeout
RequestURITooLong
RequestedRangeNotSatisfiable
ResetContent
SeeOther
ServiceUnavailable
SwitchingProtocols
Teapot
TemporaryRedirect
TooManyRequests
Unauthorized
UnavailableForLegalReasons
Unknown
UnsupportedMediaType
UseProxy
cask.router
ArgReader
ArgSig
Decorator
Decorator
Endpoint
EndpointMetadata
EndpointMetadata
EntryPoint
HttpEndpoint
Macros
NoOpParser
NoOpParser
RawDecorator
Result
Result
Error
Exception
InvalidArguments
MismatchedArguments
Error
ParamError
DefaultFailed
Invalid
ParamError
Success
RoutesEndpointsMetadata
RoutesEndpointsMetadata
Runtime
doc
cask.util
Logger
Logger
Console
Console
globalLogger
Scheduler
WebsocketBase
WebsocketClientImpl
Ws
Binary
ChannelClosed
Close
Close
Error
Event
Ping
Pong
Text
WsClient
WsClient
snunit-cask
/
cask.main
/
MainRoutes
MainRoutes
class
MainRoutes
extends
Main
with
Routes
A combination of
cask.Main
and
cask.Routes
, ideal for small one-file web applications.
Graph
Supertypes
trait
Routes
class
Main
class
Object
trait
Matchable
class
Any
Value members
Implicits
Value members
Concrete methods
def
allRoutes
:
Seq
[
Routes
]
Inherited methods
def
caskMetadata
:
RoutesEndpointsMetadata
[
Routes
]
Inherited from:
Routes
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
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
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