Code example for ConcurrentMap

Methods: isEmpty

0
	public String getParamString() {
		return URLEncodedUtils.format(getParamsList(), encoding);
	} 
 
	protected boolean hasMultipartParams() { 
		return !fileParams.isEmpty();
	} 
 
	protected SimpleMultipart getMultipart() throws IOException { 
		if (fileParams.isEmpty()) {
			return null; 
		} 
 
		final SimpleMultipart multipart = new SimpleMultipart();
 
		// Add string params 
		for (final ConcurrentHashMap.Entry<String, String> entry : urlParams.entrySet()) {
			multipart.addPart(entry.getKey(), entry.getValue());
		} 
 
		// Add file params