HTTP :connect timeout and read timeout for URLStreamHandler with SAAJ working for windows but not working on linux sytem
问题 I'm a beginner when it comes to HTTP connections. Currently i'm working with SAAJ api to have my soap based client, where to handle timeouts i ended up using URLStreamHandler for HTTP connection properties with the endpoints. Problem is that this timeout works for my windows based system, however it isn't working for the Linux server it is going to go live on. below is the code for fetching endpoint with set properties. It is a HTTP POST connection. URL endpoint = new URL (null, url, new