@NoImplement public interface MethodRequestMatcher extends RequestMatcher
RequestMatcher that specifically matches against an HttpRequest method.| Modifier and Type | Method and Description |
|---|---|
static MethodRequestMatcher |
acceptAll() |
default boolean |
acceptsAll() |
static MethodRequestMatcherBuilder |
builder() |
static MethodRequestMatcherBuilder |
builder(Collection<String> methods)
Creates a
MethodRequestMatcherBuilder already set up with a collection of methods |
List<String> |
getMethods() |
boolean |
intersectsWith(MethodRequestMatcher matcher) |
matchesstatic MethodRequestMatcher acceptAll()
MethodRequestMatcher that will match any HttpRequeststatic MethodRequestMatcherBuilder builder()
MethodRequestMatcherBuilderstatic MethodRequestMatcherBuilder builder(Collection<String> methods)
MethodRequestMatcherBuilder already set up with a collection of methodsmethods - a collection of HTTP methods to start withMethodRequestMatcherBuilderboolean intersectsWith(MethodRequestMatcher matcher)
matcher - another MethodRequestMatcher.matcher have matching methods in common, false otherwise.default boolean acceptsAll()
Copyright © 2003–2024 MuleSoft, Inc.. All rights reserved.