KtorServlet

abstract class KtorServlet : HttpServlet, CoroutineScope

A base class for servlet engine implementations

Constructors

Link copied to clipboard
fun KtorServlet()

Functions

Link copied to clipboard
open override fun destroy()

Called by servlet container when the application is going to be undeployed or stopped.

Link copied to clipboard
open fun doDelete(p0: HttpServletRequest, p1: HttpServletResponse)
Link copied to clipboard
open fun doGet(p0: HttpServletRequest, p1: HttpServletResponse)
Link copied to clipboard
open fun doHead(p0: HttpServletRequest, p1: HttpServletResponse)
Link copied to clipboard
open fun doOptions(p0: HttpServletRequest, p1: HttpServletResponse)
Link copied to clipboard
open fun doPost(p0: HttpServletRequest, p1: HttpServletResponse)
Link copied to clipboard
open fun doPut(p0: HttpServletRequest, p1: HttpServletResponse)
Link copied to clipboard
open fun doTrace(p0: HttpServletRequest, p1: HttpServletResponse)
Link copied to clipboard
open override fun getInitParameter(p0: String): String
Link copied to clipboard
open override fun getInitParameterNames(): Enumeration<String>
Link copied to clipboard
open fun getLastModified(p0: HttpServletRequest): Long
Link copied to clipboard
open override fun getServletConfig(): ServletConfig
Link copied to clipboard
open override fun getServletContext(): ServletContext
Link copied to clipboard
open override fun getServletInfo(): String
Link copied to clipboard
open override fun getServletName(): String
Link copied to clipboard
open override fun init()

Called by the servlet container when loading the servlet (on load)

open override fun init(p0: ServletConfig)
Link copied to clipboard
open fun log(p0: String)
open fun log(p0: String, p1: Throwable)
Link copied to clipboard
open override fun service(p0: ServletRequest, p1: ServletResponse)

Properties

Link copied to clipboard
open override val coroutineContext: CoroutineContext

Inheritors

Link copied to clipboard