toggle menu
hexagon
3.7.2
jvm
switch theme
search in API
http_handlers
/
com.hexagonkt.http.handlers
/
HttpContext
/
HttpContext
Http
Context
constructor
(
context
:
Context
<
HttpCall
>
)
constructor
(
request
:
HttpRequestPort
=
HttpRequest()
,
response
:
HttpResponsePort
=
HttpResponse()
,
predicate
:
HttpPredicate
=
HttpPredicate()
,
attributes
:
Map
<
*
,
*
>
=
emptyMap<Any, Any>()
)
constructor
(
event
:
HttpCall
,
predicate
:
(
Context
<
HttpCall
>
)
->
Boolean
,
nextHandlers
:
List
<
Handler
<
HttpCall
>
>
=
emptyList()
,
nextHandler
:
Int
=
0
,
exception
:
Exception
?
=
null
,
attributes
:
Map
<
*
,
*
>
=
emptyMap<Any, Any>()
,
handled
:
Boolean
=
false
)