Code example for BasicHttpParams

Methods: setBooleanParameter

0
		registry.register(new Scheme("https", sslSocketFactory, 443));
		return registry;
	} 
 
	private static HttpParams getDefaultHttpParams() {
		HttpParams params = new BasicHttpParams();
		HttpProtocolParams.setVersion(params, HttpVersion.HTTP_1_1);
		HttpProtocolParams.setContentCharset(params, "utf-8");
		params.setBooleanParameter("http.protocol.expect-continue", false);
		HttpConnectionParams.setConnectionTimeout(params,
				DEFAULT_CONNECTION_TIMEOUT_MILLIS);
		HttpConnectionParams 
				.setSoTimeout(params, DEFAULT_SOCKET_TIMEOUT_MILLIS);
		return params;
	} 
	 
	private void logD(final String message) {
		if (config.isDebugLoggingEnabled) {
			Log.d(DeviceHive.TAG, message);
		} 
	}