thenPoly

fun Filter.thenPoly(next: HttpHandler): (request: Request) -> Response(source)

Detect the type of a Handler and apply the filter to it. Use this in the construction of PolyFilters