Code example for HttpUriRequest

Methods: getParams

0
		int proxyPort = Proxy.getPort(mContext);
		if (proxyPort < 0) {
			return; 
		} 
		HttpHost proxy = new HttpHost(proxyHost, proxyPort);
		ConnRouteParams.setDefaultProxy(request.getParams(), proxy);
	} 
 
	/** 
	 * Write HTTP response to file. 
	 *  
	 * @param response 
	 *            HTTP response 
	 * @param target 
	 *            Target file 
	 * @throws IOException 
	 *             If any IO exception 
	 */ 
	private static void writeToFile(HttpResponse response, File target)
			throws IOException { 
Contextual code suggestions in your IDE  Get Codota for Java