@Override
    public boolean equals(Object other) {
        if (other == this) {
            return true;
        }
        if (!(other instanceof HeaderRulesBean)) {
            return false;
        }
        final HeaderRulesBean rhs = ((HeaderRulesBean) other);
        return new EqualsBuilder()
                .append(headerValueRegex, rhs.headerValueRegex)
                .append(allowRequest, rhs.allowRequest)
                .isEquals();
    }
Header entry rules bean.

@author Pete Cornish {@literal <outofcoffee@gmail.com>}
plugins/header-allow-deny-policy/src/main/java/io/apiman/plugins/headerallowdeny/beans/config/HeaderRulesBean.java