public CloseableHttpClient build() {
final FiberHttpClient res =
ioreactor != null ?
new FiberHttpClient(builder.build(), ioreactor) :
new FiberHttpClient(builder.build());
return res;
}
I would like to pass an instance of FiberHttpClient to FiberRestAdapterBuilder:
I would like to pass an instance of FiberHttpClient to FiberRestAdapterBuilder:
Because the builder returns an instance of CloseableHttpClient, I have to typecast it to FiberHttpClient. Ex: