Code example for BasicNameValuePair

0
	 * java.lang.String) 
	 */ 
	@Override 
	public void addHeader(final String name, final String value) {
		if (TextUtils.isEmpty(value) == false) {
			headers.add(new BasicNameValuePair(name, value));
		} 
	} 
 
	/* 
	 * (non-Javadoc) 
	 *  
	 * @see 
	 * com.chute.sdk.utils.rest.GCRest#executeRequest(org.apache.http.client 
	 * .methods.HttpUriRequest) 
	 */ 
	@Override 
	public void executeRequest(final HttpUriRequest request) throws IOException {
 
		// add headers 
		for (NameValuePair h : getHeaders()) {