public void setMaxAge(final int maxAge) {
        this.maxAge = maxAge;
    }
<p>Setter for the field <code>maxAge</code>.</p>

@param maxAge a int
pac4j-core/src/main/java/org/pac4j/core/context/Cookie.java