if (!(shpFile && shxFile && dbfFile)){
logger.error("Not all necessary files are present.");
throw new Exception("Not all necesary files are present.");
}
HttpHeaders headers = new HttpHeaders();
headers.setContentType(MediaType.MULTIPART_FORM_DATA);
//headers.setContentType(MediaType.parseMediaType("multipart/form-data;charset=utf-8"));
List<Charset> charSets = new ArrayList<Charset>();
charSets.add(Charset.forName("UTF-8"));
headers.setAcceptCharset(charSets);
HttpEntity<MultiValueMap<String, Object>> request = new HttpEntity<MultiValueMap<String, Object>>(map, headers);
/*try {
while(true){
Thread.sleep(500);