PathHandler.handle

Handles a request by looking for a mapped handler whose method and pattern match the request's, and letting that handler handle the request. If no match is found, the notFoundHandler will take care of it.

class PathHandler
void
handle
(
ref ServerHttpRequest request
,
ref ServerHttpResponse response
)

Parameters

request ServerHttpRequest

The request.

response ServerHttpResponse

The response.