private String encodeParameters(BCSHttpRequest paramBCSHttpRequest) {
		List<NameValuePair> localArrayList = new ArrayList<NameValuePair>();
		Map<String, String> map = paramBCSHttpRequest.getParameters();
		if(map != null){
			for (String key : map.keySet()) {
				localArrayList.add(new BasicNameValuePair(key, map.get(key)));
			}
		}
		if (paramBCSHttpRequest.getParameters().size() > 0) {
			localArrayList = new ArrayList(paramBCSHttpRequest.getParameters().size());
			
			for (String key : paramBCSHttpRequest.getParameters().keySet()) {
				localArrayList.add(new BasicNameValuePair(key, paramBCSHttpRequest.getParameters().get(key)));
			}
		}
		StringBuilder builder = new StringBuilder();
		for (NameValuePair nameValuePair : localArrayList) {
			builder.append("&");
			builder.append(nameValuePair.getName());
			builder.append("=");
			builder.append(nameValuePair.getValue());
		}
		builder.deleteCharAt(0);
		return builder.toString();
	}