3
votes
2answers
241 views

Cannot access google trends using HttpClient

I'm kind of newbie to this...Basicly I need to run a script to download .csv files from google trends. I wrote the following code according to this reference , the code is like: HttpClient ...
0
votes
2answers
210 views

ClientCustomSSL with HTTP 4.1.1

Can anybody tell me whether we have to create my.keystore file or it will be created. And when I created this file in the same directory(webapp directory) where my jsp file is and I am using this code ...
0
votes
1answer
192 views

How to create own trust manager in java for apache httpclient library to ignore certificate in apache httpclient 4.2?

Can somebody tell me how can i ignore the ssl certificate during web service call. I am calling https weburl to get api response but getting peer not authenticated error. Old examples are not working ...
0
votes
1answer
555 views

How to add,set and get Header in request of HttpClient?

In my application I need to set the header in the request and I need to print the header value in the console... So please give an example to do this the HttpClient or edit this in my code... My Code ...
0
votes
1answer
140 views

android class loading, apache http client library

i'm trying to do a HTTP POST to a URL. the backend requires a text field and a file. i'm using Android 4.1 (minSdkVersion = 8, targetSdkVersion = 15). i've seen a lot of examples on how to do this ...
0
votes
1answer
630 views

how to get session id on client side in apache httpclient

I am authenticating trying to login to a webservice with username and pwd. Then I have to use sessionid in subsequent we calls . I am using apache HttpClient (legacy version) 2.0.2 . Below is my ...
0
votes
1answer
91 views

Why cannot httpclient 4.2 / 4.1 retireve this page: http://michaelkimsal.com/blog/hosted-solr-or-lucene-service/comment-page-1/#comment-604253

This works in browser, poster client etc: http://michaelkimsal.com/blog/hosted-solr-or-lucene-service/comment-page-1/#comment-604253 httpclient returns status 404 please help. DefaultHttpClient ...
1
vote
0answers
101 views

NTLM proxy Authentication in Android

i am trying to use Httppost operation by using NTLM proxy authentication. I have used JCIFSEngine. But still i am getting an error. Here is my code: BasicHttpParams params = new BasicHttpParams(); ...
1
vote
0answers
549 views

SSL “Peer not Authenticated” error with HttpClient 4 - works in some case but not others

I have a wildcard cert for *.mydomain.com (the names have been changed to protect the innocent...that is NOT the real domain :) ) When using a correctly implemented Java HttpClient 4 (the issue is ...
1
vote
0answers
281 views

Can I use the latest recommended Apache HttpCore 4.2.2 jar with the HttpClient 4.2.1 library?

The latest version of the Apache HttpClient library is at 4.2.1 and includes the httpcore-4.2.1.jar core library. However, a newer version of the core httpcore-4.2.2.jar is available. The readme ...
1
vote
0answers
159 views

What will HttpClient do if connection in pool closed

HttpClient has special connection manager(ThreadSafeClientConnManager or PoolingClientConnectionManager or MultiThreadedHttpConnectionManager) which can support multi thread. My understanding is these ...
0
votes
0answers
33 views

using HttpClient to log in to hpps server

I'm trying to log in to a website pragmatically through an android app using the HttpClient class. The first page accessed only requires a user name, after submitting a user name the next page should ...
0
votes
0answers
115 views

apache http client chunking asynchronous

We use the playframework and would like to have a method called for every chunk that comes in from our get request(as we will receive 1000's of chunked pieces for the response in some cases). In ...