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.

several requests from one HttpURLConnection

How can I do several request in one HttpURLConnection with Java? URL url = new URL("http://my.com"); HttpURLConnection connection = (…

java request httpurlconnection
Digest authentication in Android using HttpURLConnection

as the question allready says, I am trying to do digest authentication in android. Until now i have used the …

java android httpurlconnection digest-authentication
Sending data via request header vs sending data via request body

What is the difference between sending data through the request header and sending data through the request body. Under what …

javascript servlets http-headers httprequest httpurlconnection
Get body of Bad Request httpURLConnection.getInputStream()

I've been working on a portlet that calls Rest API. When the API is called and the requested data doesn't …

httpurlconnection
Difference between okhttp and httpurlconnection?

What are the differences between these 2 libraries? How I understood there is a difference between these 2 lib also because Volley …

android httpurlconnection okhttp
Need an example of HttpResponseCache in Android

Hi I am trying to use the HttpResponseCache introduced in Android 4.The docs do talk clearly about how to install …

android caching httpurlconnection httpresponsecache
Getting java.io.EOFException using HttpUrlConnection

I am getting EOFException when I call a REST API. I know it says that response is null. But it …

java android exception httpurlconnection eofexception
HttpUrlConnection multipart file upload with progressBar

I want to check progress of uploading file by HttpUrlConnection. How I can do this? I've tried to calculate bytes …

android upload httpurlconnection android-progressbar multipart
TCP connection is not reused for HTTP requests with HttpURLConnection

I'm have created an application which sends GET requests to a URL, and then downloads the full content of that …

java connection httpurlconnection persistent
How to use Cookies in HttpURLConnection for ANDROID?

I am trying to create an Application for Asterisk Interface, the configuration setup has been done properly as I have …

android session-cookies httpurlconnection httpcookie asteriskami