HttpRequest

class HttpRequest(var sessions: MutableMap<String?, HttpSession?>, httpExchange: HttpExchange)

Constructors

Link copied to clipboard
fun HttpRequest(sessions: MutableMap<String?, HttpSession?>, httpExchange: HttpExchange)

Functions

Link copied to clipboard
fun data(): MutableMap<String?, FormElement?>
Link copied to clipboard
operator fun get(key: String?): FormElement?
Link copied to clipboard
fun getMultiple(key: String): Any?
Link copied to clipboard
fun getPayload(key: String?): ByteArray?
Link copied to clipboard
fun getSession(newitup: Boolean): HttpSession?
Link copied to clipboard
operator fun set(key: String?, formElement: FormElement?)
Link copied to clipboard
fun setSession()
Link copied to clipboard
fun setValues(parameters: String?)
Link copied to clipboard
fun value(key: String?): String?

getValue(String key) is a lookup for a given form field and returns the value for the given FormElement

Properties

Link copied to clipboard
var elements: MutableMap<String?, FormElement?>
Link copied to clipboard
val headers: Headers
Link copied to clipboard
var httpExchange: HttpExchange
Link copied to clipboard
var requestBody: String? = null
Link copied to clipboard
var session: HttpSession? = null
Link copied to clipboard
var sessions: MutableMap<String?, HttpSession?>
Link copied to clipboard
var support: PLSAR.Support