hexagon
2.6.6
jvm
http_server
/
com.hexagonkt.http.server.handlers
/
HttpHandler
Http
Handler
interface
HttpHandler
:
Handler
<
HttpServerCall
>
Inheritors
AfterHandler
FilterHandler
OnHandler
PathHandler
Members
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
<
HttpServerCall
>
)
:
Context
<
HttpServerCall
>
open
fun
process
(
request
:
HttpServerRequestPort
)
:
HttpServerContext
Properties
callback
Link copied to clipboard
abstract
val
callback
:
(
Context
<
HttpServerCall
>
)
->
Context
<
HttpServerCall
>
predicate
Link copied to clipboard
abstract
val
predicate
:
(
Context
<
HttpServerCall
>
)
->
Boolean
server
Predicate
Link copied to clipboard
abstract
val
serverPredicate
:
HttpServerPredicate