class DefaultWebApplication implements WebApplication {

    @Override
    public boolean setInitParameter(String name, String value) {
        requireNonNull(name);

        checkTainted();

        if (status != SETUP && status != INITIALIZED_DECLARED) {
            throw new IllegalStateException("Cannot set init parameter once web application is initialized");
        }

        boolean result = true;
        if (initParameters.containsKey(name)) {
            result = false;
        } else {
            initParameters.put(name, value);
        }
        return result;
    }

    public  DefaultWebApplication();

}