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.

Errorstream in HttpUrlConnection

I want to do a POST request to an HTTP Servlet I wrote myself. Good case (HTTP response Code 200) always …

httpurlconnection
How to Reuse HttpUrlConnection?

I am interested in reusing an HttpUrlConnection (as part of a statefull protocol between server and client that I'm developing). …

java http servlets httpurlconnection
Persistent HttpURLConnection in Java

I am trying to write a java program that will automatically download and name some of my favorite web comics. …

java httpurlconnection persistent
Create time out scenario in SOAPUI

I am working on a web-project. I have created one Http Url Connection. But for that, I have to test …

timeout httpurlconnection soapui
Can I globally set the timeout of HTTP connections?

I have a program that uses javax.xml.ws.Service to call a remote service defined by a WSDL. This …

java google-app-engine wsdl httpurlconnection urlconnection
how to set authorization header with android's httpURLconnection

I am attempting to connect to my server using basic authentication, but when I set the Authorization header, it causes …

android httpurlconnection filenotfoundexception basic-authentication
Reusing HttpURLConnection so as to keep session alive

We have an Android application that requires the user to enter an answer to a Captcha. The Captcha is generated …

android httpurlconnection sessionid
Setting "User-Agent" parameters for URLConnection for querying Google from a Java application

I am trying to get the results back from a Google query, in Java as follows: String urlquery = "https://www.…

java httpurlconnection urlconnection google-search
Android HttpsUrlConnection eofexception

I have a problem where my HttpsURLConnection will throw an EOFException when i try to read any input. The code …

android httpurlconnection eofexception
Java: Display request of an HttpURLConnection before sending

I want to make some API calls to a server using HttpURLConnection. But the requests are not successful, returning: <…

java request httpurlconnection