public static void setUseModernHttpCodes(final boolean useModernHttpCodes) {
        HttpActionHelper.useModernHttpCodes = useModernHttpCodes;
    }
<p>Setter for the field <code>useModernHttpCodes</code>.</p>

@param useModernHttpCodes a boolean
pac4j-core/src/main/java/org/pac4j/core/util/HttpActionHelper.java