Code example for HttpUriRequest

Methods: setHeader

0
 
		if (authString == null)
			return; 
 
		Log.d("restful", "addBasicAuthentication: This request has been set to include authentication..");
		request.setHeader("Authorization", "Basic " + authString);
	} 
 
	public String getRequestUrl() {
		return requestUrl;
	} 
 
	public void setRequestUrl(String requestUrl) {
		this.requestUrl = requestUrl;
	} 
 
	public String getRequestMethod() {
		return requestMethod;
	} 
 
	public void setRequestMethod(String requestMethod) {