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.

Java - HttpUrlConnection returns cached response every time

I'm trying to gather statistical data from Roblox's currency exchange for analysis. Therefore, I need up-to-date data instead of a …

java http caching httpurlconnection
get the PDF from a URL and push it to the clients browser for download

I have PDFs mounted on an external server. I have to access them in my Java servlet and push them …

java http httprequest httpurlconnection urlconnection
Why does HttpURLConnection.getResponseCode() throws IOException?

I can see that getResponseCode() method is just a getter Method that returns the statusCode already set by the a …

java httpresponse httpurlconnection urlconnection http-response-codes
Connection closed, EOF detected

I want to post some json data from ADFS SSO enabled weblogic server to an https url(jetty server) but …

java https weblogic httpurlconnection httpsurlconnection
HttpsURLConnection and intermittent connections

I'm hoping someone could help me out with intermittent connections I'm getting using code with HttpsURLConnection. The code I'm using …

android httpurlconnection connection intermittent
HttpURLConnection.getInputStream very slow

HttpURLConnection.getInputStream takes very much time when compared to iPhone App which uses the same server side services. The following …

android inputstream httpurlconnection androidhttpclient
HttpURLConnection Read time out

I have a following code to download file form URL HttpURLConnection urlConn = (HttpURLConnection)urlOfFile.openConnection(); urlConn.setConnectTimeout(5000); urlConn.setReadTimeout(10000); StatusInfo.…

java httpurlconnection socket-timeout-exception
HttpURLConnection.getResponseCode() throws IOException when code is known

How come HttpURLConnection.getResponseCode() throws IOException even if the status is known? Caused by: java.io.IOException: Server returned HTTP …

java httpurlconnection
NetworkOnMainThreadException error in jellybean

I've been trying to get this to work for the last week or so and still have no idea what …

android android-asynctask httpurlconnection onstart networkonmainthread
Java HTTPUrlConnection timeout does not work

I've written a programm that opens a httpurlconnection to a website through random proxies. My httpurlconnection is called conn. Now …

java timeout httpurlconnection urlconnection