methods

fun methods(vararg methods: Method): RequestPredicate

Return a RequestPredicate that matches if the request's HTTP method is equal to the given methods.

Return

a predicate that tests against the given HTTP methods

Parameters

methods

the HTTP methods to match against