This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Security and the fly likes HttpsURLConnection timeout setting Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » Security
Bookmark "HttpsURLConnection timeout setting" Watch "HttpsURLConnection timeout setting" New topic
Author

HttpsURLConnection timeout setting

Anamik world
Greenhorn

Joined: Sep 12, 2005
Posts: 2
Hi,

I am writing a java client which is executed in Weblogic 8.1 server environment and makes a HTTPS connection to url on other server. The connection which I making is blocked call so I want to set timeout for this connection object weblogic.net.http.HttpsURLConnection It's a Weblogic JSSE provider class.

Is there any way to set the timeout for this connection?

As connectTimeout() method of this class as per the API docs is not implemented for HTTPS.

Thanks in advance
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: HttpsURLConnection timeout setting
 
Similar Threads
Connection pool InactiveconnectionTimeout value
HTTPS over Apache Commons HttpConnection.
Does timeout set on server kills the outstanding transactions
Broken Pipe message in DB2
HttpsURLConnection timeout setting