private void init(List<FileItem> inputItems) {

		Map<String, List<String>> map = new HashMap<String, List<String>>();
		for (FileItem item : inputItems) {
			if (item.isFormField()) {
				List<String> currentValues = map.get(item.getFieldName());
				if (currentValues == null) {
					currentValues = new ArrayList<String>();
					map.put(item.getFieldName(), currentValues);
				}
				try {
					currentValues.add(item.getString("UTF-8"));
				} catch (UnsupportedEncodingException e) {
					
				}
			}
		}
		for (Entry<String, List<String>> parameter : map.entrySet()) {
			List<String> valueList = parameter.getValue();
			this.params.put(parameter.getKey(),
					valueList.toArray(new String[valueList.size()]));
		}
	}