RoutingHttpHandler
Composite HttpHandler which can potentially service many different URL patterns. Should return a 404 Response if it cannot service a particular Request.
Note that generally there should be no reason for the API user to implement this interface over and above the implementations that already exist. The interface is public only because we have not found a way to hide it from the API user in an API-consistent manner.
Inheritors
Functions
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
fun RoutingHttpHandler.debug(out: PrintStream = System.out, debugStream: Boolean = false): RoutingHttpHandler
Link copied to clipboard
Attempt to supply an HttpHandler which can service the passed request.
Link copied to clipboard
Convert a synchronous HttpHandler API to mimic AsyncHttpClient
Link copied to clipboard
Returns a Router which prepends the passed base path to the logic determining the match().
Link copied to clipboard
Returns a Router which applies the passed Filter to all received requests before servicing them.