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.

getRequestProperty("Authorization") always returns null

I am trying to read the authorization header for an HTTP request (because I need to add something to it), …

java http authorization oauth httpurlconnection
Get file size from url

I having a problem with this URL url its a 302 url and it redirects to this site when you run …

android http httpurlconnection filesize http-status-code-302
CXF - catching/handling HTTP exceptions

This is rather a basic cxf usage question. How/where can we catch the actual HTTP exception/error. I kind …

cxf httpurlconnection sharepoint-api
Java: HTTP PUT with HttpURLConnection

How do you do do an HTTP PUT? The class I'm using seems to think it is doing a PUT …

java httpurlconnection http-put
Android's HttpURLConnection throws EOFException on HEAD requests

This small code snippet runs fine on my Mac's JVM. Unfortunately it crashes when executed on Android 4.2. import java.net.…

java android http httpurlconnection urlconnection
POST Request gives FileNotFoundException

POST request gives FileNotFoundException for the URL I am making an Http POST request to a Url https://nitos.gr …

android http-post httpurlconnection filenotfoundexception http-status-code-400