toggle menu
hexagon
3.7.2
jvm
switch theme
search in API
http_handlers
/
com.hexagonkt.http.handlers
/
HttpHandler
Http
Handler
interface
HttpHandler
:
Handler
<
HttpCall
>
Inheritors
AfterHandler
BeforeHandler
ExceptionHandler
FilterHandler
HttpController
OnHandler
PathHandler
Members
Properties
callback
Link copied to clipboard
abstract
val
callback
:
(
Context
<
HttpCall
>
)
->
Context
<
HttpCall
>
handler
Predicate
Link copied to clipboard
abstract
val
handlerPredicate
:
HttpPredicate
predicate
Link copied to clipboard
abstract
val
predicate
:
(
Context
<
HttpCall
>
)
->
Boolean
Functions
add
Prefix
Link copied to clipboard
abstract
fun
addPrefix
(
prefix
:
String
)
:
HttpHandler
by
Method
Link copied to clipboard
open
fun
byMethod
(
)
:
Map
<
HttpMethod
,
HttpHandler
>
filter
Link copied to clipboard
open
fun
filter
(
method
:
HttpMethod
)
:
HttpHandler
process
Link copied to clipboard
abstract
fun
process
(
context
:
Context
<
HttpCall
>
)
:
Context
<
HttpCall
>
open
fun
process
(
request
:
HttpRequestPort
)
:
HttpContext
process
Http
Link copied to clipboard
open
fun
processHttp
(
context
:
HttpContext
)
:
HttpContext