public MutableHttpServletRequest() { attributeMap = new HashMap<String, Object>(); headerMap = new HashMap<String, String[]>(); parameterMap = new HashMap<String, String[]>(); fileItemMap = new HashMap<String, FileItem[]>(); locales = new ArrayList<Locale>(); locales.add(Locale.getDefault()); }