Code examples for HttpParams

Codota analyzed 7,668,838 open source code samples to find the most common, credible and clear examples.
You can now enable Codota on your own code to easily search and navigate your Java codebase.
75:	/** 
-
78:	public BasicConnPool() { 
79:	super(new BasicConnFactory(SocketConfig.DEFAULT, ConnectionConfig.DEFAULT), 2, 20); 
-
81:	 
Full Snippet Info
6
CodeRank
75:	Args.notNull(params, "HTTP params"); 
-
78:	this.connectTimeout = params.getIntParameter(CoreConnectionPNames.CONNECTION_TIMEOUT, 0); 
79:	this.sconfig = HttpParamConfig.getSocketConfig(params); 
-
81:	HttpParamConfig.getConnectionConfig(params)); 
Full Snippet Info
6
CodeRank
96:	Args.notNull(params, "HTTP parameters"); 
97:	this.connectTimeout = params.getIntParameter(CoreConnectionPNames.CONNECTION_TIMEOUT, 0); 
-
107:	this(ioreactor, new BasicNIOConnFactory(params), params); 
Full Snippet Info
6
CodeRank
207:	params.setParameter("Connection", "keep-alive"); 
208:	params.setParameter("Accept-Encoding", "gzip,deflate"); 
209:	params.setParameter("Accept-Charset", "GBK,utf-8;q=0.7,*;q=0.3"); 
210:	params.setParameter("Accept", 
-
212:	params.setParameter("Accept-Language", 
-
214:	params.setParameter( 
Full Snippet Info
6
CodeRank
73:	this.params.setParameter(HttpProtocolParams.PROTOCOL_VERSION, 
-
75:	this.params.setBooleanParameter(HttpProtocolParams.USE_EXPECT_CONTINUE, 
-
77:	this.params.setBooleanParameter(HttpConnectionParams.STALE_CONNECTION_CHECK, 
-
79:	this.params.setIntParameter(HttpConnectionParams.SOCKET_BUFFER_SIZE, 
-
81:	this.params.setIntParameter(HttpConnectionParams.SO_TIMEOUT, 
Full Snippet Info
6
CodeRank
233:	.getParameter(ClientPNames.CONNECTION_MANAGER_FACTORY); 
-
235:	String className = (String) params.getParameter( 
-
252:	connManager = factory.newInstance(params, registry); 
Full Snippet Info
6
CodeRank
76:	params.setParameter(ConnManagerPNames.MAX_TOTAL_CONNECTIONS, 1); 
77:	params.setParameter(ConnManagerPNames.MAX_CONNECTIONS_PER_ROUTE, new ConnPerRouteBean(1)); 
78:	params.setParameter(HttpProtocolParams.USE_EXPECT_CONTINUE, false); 
Full Snippet Info
6
CodeRank
89:	params.setLongParameter(HTTP_TIMEOUT, HTTP_TIMEOUT_MS); 
Full Snippet Info
5
CodeRank
68:	params.setParameter(ConnManagerPNames.MAX_TOTAL_CONNECTIONS, 1); 
69:	params.setParameter(ConnManagerPNames.MAX_CONNECTIONS_PER_ROUTE, 
-
71:	params.setParameter(HttpProtocolParams.USE_EXPECT_CONTINUE, false); 
Full Snippet Info
5
CodeRank
75:	super(handler, params); 
-
77:	Args.notNull(params, "HTTP parameters"); 
Full Snippet Info
5
CodeRank
68:	params.setParameter(ClientPNames.CONNECTION_MANAGER_FACTORY, 
-
91:	params.setParameter(ClientPNames.COOKIE_POLICY, CookiePolicy.RFC_2965); 
Full Snippet Info
5
CodeRank
75:	super(handler, params); 
-
77:	Args.notNull(params, "HTTP parameters"); 
Full Snippet Info
5
CodeRank
71:	params.setIntParameter(CoreConnectionPNames.SO_TIMEOUT, 100); 
72:	params.setIntParameter(CoreConnectionPNames.CONNECTION_TIMEOUT, 100); 
73:	connFactory = new BasicConnFactory(params); 
Full Snippet Info
5
CodeRank
65:	this.httpParams.setParameter(ConnManagerPNames.MAX_TOTAL_CONNECTIONS, 1); 
66:	this.httpParams.setParameter(ConnManagerPNames.MAX_CONNECTIONS_PER_ROUTE, 
-
68:	this.httpParams.setParameter(HttpProtocolParams.USE_EXPECT_CONTINUE, false); 
Full Snippet Info
5
CodeRank
116:	params.setParameter(ConnManagerPNames.MAX_TOTAL_CONNECTIONS, 1); 
117:	params.setParameter(ConnManagerPNames.MAX_CONNECTIONS_PER_ROUTE, new ConnPerRouteBean(1)); 
118:	params.setParameter(HttpProtocolParams.USE_EXPECT_CONTINUE, false); 
Full Snippet Info
5
CodeRank
67:	params.setParameter(CoreProtocolPNames.PROTOCOL_VERSION, HttpVersion.HTTP_1_1); 
Full Snippet Info
5
CodeRank
22:	.getParameter(CookieSpecPNames.DATE_PATTERNS); 
-
27:	boolean singleHeader = params.getBooleanParameter( 
Full Snippet Info
5
CodeRank
98:	this.maxLineLen = params.getIntParameter( 
-
100:	this.maxHeaderCount = params.getIntParameter( 
Full Snippet Info
5
CodeRank
71:	params.setLongParameter(HTTP_TIMEOUT, config.getHttpConnectTimeout()); 
Full Snippet Info
5
CodeRank