JEP 110 HTTP 2 client API
chris.hegarty at oracle.com
Fri Apr 3 14:28:48 UTC 2015
On 3 Apr 2015, at 14:20, Pavel Rappo <pavel.rappo at oracle.com> wrote:
> Hi Kasper,
> I assume your questions are all about WebSocket part, right? If so, then
>> Would it possible to add a connect timeout parameter.
>> builder.setConnectTimeout(long timeout, TimeUnit unit)
>> For some reason it was left out of the javax.websocket API. And working
>> around it is a serious PITA.
> What's the purpose of this timeout? Could you please explain it a bit more?
As with any API that deals with underlying socket connect, read, write, there should be some configurable way to set a time for the reply, or availability of system resources.
More information about the core-libs-dev