HttpResponse

Functions

Link copied to clipboard
abstract fun end()
Link copied to clipboard
abstract fun getHeader(name: HttpHeaderName): String
Link copied to clipboard
abstract fun getHeaderUnsafe(name: String): String
Link copied to clipboard
abstract fun setHeader(name: HttpHeaderName, value: String)
abstract fun setHeader(name: HttpHeaderName, value: HttpHeaderValue, args: Array<Any>)
Link copied to clipboard
abstract fun setHeaderUnsafe(name: String, value: String)
Link copied to clipboard
abstract fun setStatus(statusCode: HttpStatus)
Link copied to clipboard
abstract fun write(body: String, last: Boolean)
Link copied to clipboard
abstract fun writeEmpty(last: Boolean)