Code example for HttpContext

Methods: setAttribute

	 *            The CookieStore implementation to use, usually an instance of 
	 *            {@link PersistentCookieStore} 
	public void setCookieStore(CookieStore cookieStore)
		httpContext.setAttribute(ClientContext.COOKIE_STORE, cookieStore);
	 * Overrides the threadpool implementation used when queuing/pooling 
	 * requests. By default, Executors.newCachedThreadPool() is used. 
	 * @param threadPool 
	 *            an instance of {@link ThreadPoolExecutor} to use for 
	 *            queuing/pooling requests. 
	public void setThreadPool(ThreadPoolExecutor threadPool)
		this.threadPool = threadPool;
Stop searching for code, let great code find you!  Add Codota to your java IDE