http4k
Toggle table of contents
6.55.0.0
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
http4k
http4k-core
/
org.http4k.routing
/
RoutingMatch
Routing
Match
data
class
RoutingMatch
<
R
>
(
priority
:
Int
,
description
:
RouterDescription
,
handler
:
(
Request
)
->
R
)
:
Comparable
<
RoutingMatch
<
R
>
>
,
Function1
<
Request
,
R
>
(
source
)
Members
Members & Extensions
Constructors
Routing
Match
Link copied to clipboard
constructor
(
priority
:
Int
,
description
:
RouterDescription
,
handler
:
(
Request
)
->
R
)
Functions
and
Link copied to clipboard
fun
Events
.
and
(
next
:
Events
)
:
Events
as
Router
Link copied to clipboard
fun
(
Request
)
->
Boolean
.
asRouter
(
name
:
String
=
""
)
:
Router
as
Server
Link copied to clipboard
fun
HttpHandler
.
asServer
(
config
:
ServerConfig
)
:
Http4kServer
compare
To
Link copied to clipboard
open
operator override
fun
compareTo
(
other
:
RoutingMatch
<
R
>
)
:
Int
debug
Link copied to clipboard
fun
HttpHandler
.
debug
(
out
:
PrintStream
=
System.out
,
debugStream
:
Boolean
=
false
)
:
HttpHandler
invoke
Link copied to clipboard
open
operator override
fun
invoke
(
p1
:
Request
)
:
R
with
Async
Api
Link copied to clipboard
fun
HttpHandler
.
withAsyncApi
(
)
:
AsyncHttpHandler
Convert a synchronous HttpHandler API to mimic AsyncHttpClient