Code example for HttpUriRequest

Methods: setHeader

0
	public void set(HttpUriRequest request) {
 
		if (mUserAgent == null)
			update(null); 
 
		request.setHeader(HEADER_USER_AGENT, mUserAgent);
	} 
 
	/** 
	 * static method to get display params. 
	 *  
	 * @param activity 
	 *            a target Activity class object. 
	 * @return int-array if activity would not null, null if activity would be 
	 *         null. 
	 */ 
	public static int[] getDisplayParams(Activity activity) {
 
		if (activity != null) {
 
Stop searching for code, let great code find you!  Add Codota to your java IDE