public String buildUri(ClientConfiguration paramClientConfiguration, BCSHttpRequest paramBCSHttpRequest) {
		StringBuilder localStringBuilder = new StringBuilder();
		localStringBuilder.append(paramClientConfiguration.getProtocol().toString());
		localStringBuilder.append("://");
		localStringBuilder.append(paramBCSHttpRequest.getEndpoint());
		if ((paramBCSHttpRequest.getResourcePath() != null)
				&& (paramBCSHttpRequest.getResourcePath().length() > 0)) {
			if (!(paramBCSHttpRequest.getResourcePath().startsWith("/"))) {
				localStringBuilder.append("/");
			}
			localStringBuilder.append(paramBCSHttpRequest.getResourcePath());
		}
		String str = encodeParameters(paramBCSHttpRequest);
		localStringBuilder.append("?").append(str);
		return localStringBuilder.toString();
	}