Top "Httpurlconnection" questions

HttpURLConnection instance is used to make a single request but the underlying network connection to the HTTP server may be transparently shared by other instances.

simple HttpURLConnection POST file multipart/form-data from android to google blobstore

I have very little idea how html works.What i want to do is exactly similar to the following but …

android file httpurlconnection multipartform-data blobstore
How to enable wire logging for a java HttpURLConnection traffic?

I've used Jakarta commons HttpClient in another project and I would like the same wire logging output but using the "…

java http logging httpurlconnection
How to stream a JSON object to a HttpURLConnection POST request

I can not see what is wrong with this code: JSONObject msg; //passed in as a parameter to this method …

java post httpurlconnection
cURL and HttpURLConnection - Post JSON Data

How to post JSON data using HttpURLConnection? I am trying this: HttpURLConnection httpcon = (HttpURLConnection) ((new URL("a url").openConnection())); httpcon.…

java json post curl httpurlconnection
How to read full response from HttpURLConnection?

I make some proxy server in andorid which modify http headers, it works ok, but I have to forward full …

java httpurlconnection
How to modify the header of a HttpUrlConnection

Im trying to improve the Java Html Document a little but i'm running into problems with the HttpUrlConntion. One thing …

java http http-headers httpurlconnection
HttpUrlConnection.openConnection fails second time

I know this issue should be fixed with System.setProperty("http.keepAlive", "false"); before openConnection, but that didn't work to …

android httpurlconnection
HttpURLConnection.getResponseCode() returns -1 on second invocation

I seem to be running into a peculiar problem on Android 1.5 when a library I'm using (signpost 1.1-SNAPSHOT), makes two …

java android oauth httpurlconnection signpost
What could cause socket ConnectException: Connection timed out?

We have a Webstart client that communicates to the server by sending serialized objects over HTTPS using java.net.HttpsURLConnection. …

java sockets exception https httpurlconnection
HttpEntity is deprecated on Android now, what's the alternative?

With the release of Android 5.1, it looks like all the Apache http stuff has been deprecated. Looking at the documentation …

android httpurlconnection apache-httpclient-4.x