resolve

fun resolve(method: HttpMethod, path: String): Pair<KMockHandler, Map<String, String>>?(source)

Finds the first handler matching method and path. Matches against a stable snapshot of the handlers list.