HI Oleg,

Yes, I think you are right. I have reworked the prototype to use the async
transport underneath while keeping the same contract model, with
CompletableFuture / Future support for non-blocking calls.

Arturo


On Sat, Mar 28, 2026 at 6:17 PM Oleg Kalnichevski <[email protected]> wrote:

> On Sat, 2026-03-28 at 17:43 +0100, Arturo Bernal wrote:
> > HI Oleg,
> >
> > I have put together a first client-side prototype and opened a PR for
> > it:
> >
> > https://github.com/apache/httpcomponents-client/pull/816
> >
> >
> > Arturo
> >
>
> That was fast, somewhat too fast, but it does look like what I had in
> mind. I will do a proper review during the Easter break.
>
> Wouldn't the  async transport be a better choice here?
>
> Oleg
>
>
> >
> > On Fri, Mar 27, 2026 at 9:45 PM Oleg Kalnichevski <[email protected]>
> > wrote:
> >
> > > On Fri, 2026-03-27 at 20:55 +0100, Arturo Bernal wrote:
> > > > HI Oleg,
> > > >
> > > > I’ll take a look at what a small JAX-RS-style container on top of
> > > > HttpCore
> > > > could look like.
> > > >
> > > > cheers
> > > >
> > > > Arturo
> > >
> > > Hi Arturo
> > >
> > > Consider looking at the client side first. Think of something like
> > > Quarkus Rest client:
> > >
> > > https://quarkus.io/guides/rest-client
> > >
> > > One defines an interface with jakarta.ws.rs annotations as a
> > > contract
> > > and the library generates its implementation at runtime with
> > > HttpClient
> > > behind the interface.
> > >
> > >
> > > If it goes well, you enjoy doing it and gets some traction we can
> > > consider moving it to core and expand into the server side.
> > >
> > > Oleg
> > >
> > > >
> > > >
> > > > On Thu, Mar 26, 2026 at 8:55 PM Oleg Kalnichevski
> > > > <[email protected]>
> > > > wrote:
> > > >
> > > > > Christ, I am getting old. Sorry, Arturo. The rest of it stands.
> > > > >
> > > > >
> > > > > On Thu, 2026-03-26 at 20:54 +0100, Oleg Kalnichevski wrote:
> > > > > > Alberto
> > > > > >
> > > > > > You have recently created several large pull requests with
> > > > > > complex
> > > > > > features that I do not see as particularly useful and
> > > > > > therefore I
> > > > > > see
> > > > > > no great urgency in having them reviewed and merged. I will
> > > > > > review
> > > > > > some
> > > > > > of then during the coming Easter break but that is that.
> > > > > >
> > > > > > I do not know your motivation for picking those specific
> > > > > > features,
> > > > > > the
> > > > > > choice is entirely yours, but if you want to build something
> > > > > > very
> > > > > > cool
> > > > > > and very useful consider building a small container that
> > > > > > implements a
> > > > > > subset of jakarta.ws.rs on top of HttpCore or HttpClient. Now
> > > > > > that
> > > > > > there is a JSON message bindings we should have all the
> > > > > > building
> > > > > > blocks
> > > > > > for it.
> > > > > >
> > > > > > It would certainly be more useful than some URI parser in my
> > > > > > opinion.
> > > > > >
> > > > > > Oleg
> > > > > >
> > > > > > -------------------------------------------------------------
> > > > > > ----
> > > > > > ----
> > > > > > To unsubscribe, e-mail: [email protected]
> > > > > > For additional commands, e-mail: [email protected]
> > > > >
> > >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to