method

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

Return

a predicate that tests against the given HTTP method

Parameters

method

the HTTP method to match against