nameValuePairList.add(new BasicNameValuePair("charset", "UTF-8"));
nameValuePairList.add(new BasicNameValuePair("session", authentication.getSession()));
nameValuePairList.add(new BasicNameValuePair("type", "JDeploy"));
nameValuePairList.add(new BasicNameValuePair("data", "{'name':'" + artifactFile.getName() + "', 'archive':'" + upLoader.getFile() + "', 'link':0, 'size':" + upLoader.getSize() + ", 'comment':'" + local_comment + "'}"));
UrlEncodedFormEntity entity = new UrlEncodedFormEntity(nameValuePairList, "UTF-8");
for (NameValuePair nameValuePair : nameValuePairList) {
getLog().debug(nameValuePair.getName() + " : " + nameValuePair.getValue());
}