Tagged Questions
-1
votes
1answer
17 views
HTTPClient.executeMethod() return an exception
I have a problem who is mysterious !
I use HttpClient() class to get a webpage content.
client = new HttpClient();
client.getParams().setParameter(HttpMethodParams.USER_AGENT, useragent);
...
0
votes
1answer
37 views
Apache httpclient library not found
When I try to deploy an application to my Mule standalone server, the application deploys properly but when I try running a flow which uses RestTemplate (spring) and ...
0
votes
1answer
17 views
SSL issue with HttpGet probably because server is requesting client authentication
We are using following versions of diff libraries
Apache-HttpComponents-HttpCore = 4.1;
Apache-HttpComponents-HttpClient = 4.1.1;
JDK = 1.6_64;
and suddenly started ...
0
votes
0answers
22 views
HTTP Get failing for HTTPS with javax.net.ssl.SSLPeerUnverifiedException
I have been using this infrastructure from past couple of months and it was working fine. I used to hit Google with https and get the result. Suddenly, I started getting SSLPeerVerifiedException for ...
1
vote
0answers
42 views
wait for a long HTTP response in java
I hava a java application that calls a service. The service call will take about 5-10 minutes to complete its operation and return a status log as a response. (The reason behind the long duration is ...
0
votes
3answers
67 views
HttpClient timeout
I have a client server app using spring HttpInvokers. I am struggling with the timeouts. I see other threads regarding this but no clear answers.
As far as I know the readTimeout is supposed to ...
0
votes
0answers
27 views
Java - File parsing vs fetching html over http
We have a Java class that is supposed to fetch an HTML file and then read some content in it based on the id of certain divs and then return the content to a frontend which will then render it.
Now ...
0
votes
1answer
27 views
Android : Http request : get response time
In ANDROID, is there any way to get the reponse time from an http request (Using httpClient for instance)
Am looking for an alternative to what Curl does.
0
votes
1answer
37 views
Handling Cookies containing equals (“=”) sign in Java
I am sending request in the following way.
HttpClient httpClient=new DefaultHttpClient();
CookieStore cookieStore=new BasicCookieStore();
HttpContext httpContext=new BasicHttpContext();
...
0
votes
0answers
23 views
android http post login in my.beeline.ru
First: sorry for my English.
I need to log in into a website https://my.beeline.ru/mLogin.html. I wrote next code:
HttpClient httpClient = new DefaultHttpClient();
HttpParams httpParams = ...
0
votes
0answers
27 views
Extracting elements from an HTTP XML response--HTTP Client & Java
So I've gotten help from here already so I figured why not try it out again!? Any suggestions would be greatly appreciated.
I'm using HTTP client and making a POST request; the response is an XML ...
-1
votes
0answers
41 views
apache httpclient slow to post
I am using apache's httpclient to submit https posts, it's taking about 10 seconds per post. I am hoping for something around the 100ms range
m_httpClient = new DefaultHttpClient();
HttpParams ...
1
vote
2answers
84 views
Sending XML payloads with HTTP POST request using HttpClient--Java
So I've been doing a lot of looking on both stackoverflow and google in general to try and answer my following question, but I have been unable to find anything that can help me to get this work 100%. ...
0
votes
1answer
42 views
Getting a 403 from BufferedReader
I'm trying to upload an image to imgur, I am getting a response from the site but it returns me with
null : {"data":{"error":"Malformed auth header","request":"/3/image","parameters":"image = ...
1
vote
2answers
104 views
The type List is not generic; it cannot be parameterized with arguments [HTTPClient]
import java.awt.List;
import java.awt.image.BufferedImage;
import java.io.BufferedReader;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.InputStreamReader;
import ...