Re: 2 HttpClient5 questions

2018-11-16 Thread Oleg Kalnichevski
On Fri, 2018-11-16 at 13:18 +0100, Joan Balagueró wrote: > Hello, > > > > I hope the last questions: > > > > 1. The validateAfterInactivity with a value of zero means no > validation? > Correct. > > > 2. Regarding the consume method, this is our implementation > now: > >

2 HttpClient5 questions

2018-11-16 Thread Joan Balagueró
Hello, I hope the last questions: 1. The validateAfterInactivity with a value of zero means no validation? 2. Regarding the consume method, this is our implementation now: @Override public int consume(ByteBuffer src) throws IOException { while (src.hasRemaining())