HTML to PDF / DOCX / RTF Java converter library › Forums › PD4ML v3 Archived Forums (Read Only) › General questions / FAQ › How to use the PD4Constants.PD4ML_SOCKET_TIMEOUT setting › Re: Re: How to use the PD4Constants.PD4ML_SOCKET_TIMEOUT setting
May 11, 2016 at 11:59
#29876
The above code is correct, however the value probably is too small. It is in milliseconds and after conversion to int, passed to
URLConnection.setConnectTimeout(connectionTimeout);
URLConnection.setReadTimeout(connectionTimeout);