Skip to content

//misk/misk

Package-level declarations

Types

Name Summary
Action [jvm]
data class Action(val name: String, val function: KFunction<*>, val acceptedMediaRanges: List<MediaRange>, val responseContentType: MediaType?, val parameters: List<KParameter>, val returnType: KType, val dispatchMechanism: DispatchMechanism)
ApplicationInterceptor [jvm]
interface ApplicationInterceptor
Chain [jvm]
interface Chain
MiskApplication [jvm]
class MiskApplication
The entry point for misk applications
MiskCommand [jvm]
abstract class MiskCommand(name: String, modules: List<Module>) : Runnable
A command to run from the command line. Each command has an associated name and the list of modules to use in initializing the command. Commands can specify optional and required arguments via JCommander annotations. The command line will pick the appropriate command based on the name, create an injector based on that command’s modules, use the injector to initialize the command, and then run the command.
MiskCommonServiceModule [jvm]
class MiskCommonServiceModule : KAbstractModule
This module has common bindings for all environments (both real and testing).
MiskRealServiceModule [jvm]
class MiskRealServiceModule : KAbstractModule
Install this module in real environments.

Functions

Name Summary
asAction [jvm]
fun KFunction<*>.asAction(dispatchMechanism: DispatchMechanism, responseContentType: MediaType? = singleOrNullResponseMediaType()): Action