class HttpMethodMatcher implements Matcher {

    private Set<HttpConstants.HTTP_METHOD> methods;

    /**
     * <p>Constructor for HttpMethodMatcher.</p>
     */
    public HttpMethodMatcher() {}

    /**
     * <p>Constructor for HttpMethodMatcher.</p>
     *
     * @param methods a {@link HttpConstants.HTTP_METHOD} object
     */
    public HttpMethodMatcher(final HttpConstants.HTTP_METHOD... methods) {
        if (methods != null) {
            this.methods = new HashSet<>(Arrays.asList(methods));
        }
    }

    /** {@inheritDoc} */
    @Override
    public boolean matches(final CallContext ctx) {<FILL_FUNCTION_BODY>}
}

        CommonHelper.assertNotNull("methods", methods);
        val requestMethod = ctx.webContext().getRequestMethod();

        for (val method : methods) {
            if (method.name().equalsIgnoreCase(requestMethod)) {
                return true;
            }
        }
        return false;
    
<no_super_class>