HttpCallback

Functions

Link copied to clipboard
abstract operator fun invoke(p1: HttpContext): HttpContext
Link copied to clipboard
fun HttpCallbackType.process(request: HttpRequest, attributes: Map<*, *> = emptyMap<Any, Any>()): HttpContext
fun HttpCallbackType.process(    method: HttpMethod = GET,     protocol: HttpProtocol = HTTP,     host: String = "localhost",     port: Int = 80,     path: String = "",     queryParameters: Parameters = Parameters(),     headers: Headers = Headers(),     body: Any = "",     parts: List<HttpPart> = emptyList(),     formParameters: Parameters = Parameters(),     cookies: List<Cookie> = emptyList(),     contentType: ContentType? = null,     certificateChain: List<X509Certificate> = emptyList(),     accept: List<ContentType> = emptyList(),     contentLength: Long = -1L,     attributes: Map<*, *> = emptyMap<Any, Any>(),     authorization: Authorization? = null): HttpContext