open class ServletApplicationEngine : KtorServlet
This servlet need to be installed into a servlet container
ServletApplicationEngine()
This servlet need to be installed into a servlet container |
open val application: Application
Current application instance. Could be lazy |
|
open val coroutineContext: <ERROR CLASS> |
|
open val enginePipeline: EnginePipeline
Engine pipeline |
|
open val logger: Logger
Application logger |
|
open val upgrade: ServletUpgrade
Servlet upgrade implementation |
open fun destroy(): Unit
Called by servlet container when the application is going to be undeployed or stopped. |
|
open fun init(): Unit
Called by the servlet container when loading the servlet (on load) |
open fun service(request: HttpServletRequest, response: HttpServletResponse): Unit
Called by the servlet container when an HTTP request received. |
const val ApplicationEngineEnvironmentAttributeKey: String
An application engine environment instance key. It is not recommended to use unless you are writing your own servlet application engine implementation |
|
const val ApplicationEnginePipelineAttributeKey: String
An application engine pipeline instance key. It is not recommended to use unless you are writing your own servlet application engine implementation |