File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

HttpsURLConnection timeout setting

 
Anamik world
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic