ApiInterceptorContext  
    class ApiInterceptorContext(val env: Environment, val dispatcher: Apis.Dispatcher, val path: String, val req: MutableRequest, val data: Data, val logger: Logger)(source)
A context for a method annotated with ApiInterceptor.
The classes can be used to help the user write interception logic, dispatching the request either to its original endpoint, an alternate one, or simply returning a custom response instead entirely. See ApiInterceptor for more information.
Constructors
Link copied to clipboard
                  constructor(env: Environment, dispatcher: Apis.Dispatcher, path: String, req: MutableRequest, data: Data, logger: Logger)
Properties
Link copied to clipboard
                  Readonly data store potentially populated by methods annotated with InitApi. See also: InitApiContext.
Link copied to clipboard
                  Link copied to clipboard
                  The current server environment, in case you need to branch logic in development vs production environments.
Link copied to clipboard
                  Request information sent from the client. This instance of the request is mutable, meaning some fields (headers, cookies, body, and content-type) can still be changed.