Code example for Header

Methods: getNamegetValue

0
	} 
	 
	private AsyncHttpClient createAutheniticatedHttpClient(String username, String password) {
		AsyncHttpClient client = createHttpClient();
		Header header = createBasicAuthenticationHeader(username, password);
		client.addHeader(header.getName(), header.getValue());
		return client;
	} 
	 
	private String getAppVersion() {
		return prefs.getString("platform_ver_build", "");
	} 
} 
Contextual code suggestions in your IDE  Get Codota for Java