MatchingHandler
data class MatchingHandler(httpHandler: HttpHandler, val description: RouterDescription, val subMatches: List<RouterMatch> = listOf()) : RouterMatch, Function1<request: Request, Response>
Constructors
Link copied to clipboard
constructor(httpHandler: HttpHandler, description: RouterDescription, subMatches: List<RouterMatch> = listOf())
Functions
Link copied to clipboard
open override fun aggregatedBy(description: RouterDescription, fromMatches: List<RouterMatch>): RouterMatch
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun HttpHandler.debug(out: PrintStream = System.out, debugStream: Boolean = false): (request: Request) -> Response
Link copied to clipboard
Link copied to clipboard
Convert a synchronous HttpHandler API to mimic AsyncHttpClient