It is good question actually, the JAXRS 2.1 API (SyncInvoker) does not have
patch() either, I think we could add one to WebClient, won't harm.

Not sure about USE_ASYNC though, we may have to keep it for backward
compatiblity, no?

Best Regards,
    Andriy Redko


On Mon, Aug 13, 2018, 10:08 AM Francesco Chicchiriccò <[email protected]>
wrote:

> Hi all,
> I was wondering if there is something preventing to add a method like as
>
>      public Response patch(Object body) {
>          return invoke(HttpMethod.PATCH, body);
>      }
>
> in the WebClient class on master and 3.2.x-fixes branches, since both
> are on JAX-RS 2.1 which has
>
> javax.ws.rs.HttpMethod#PATCH
>
> defined?
>
> Is AsyncHTTPConduit.USE_ASYNC still required on those branches?
>
> Regards.
>
> --
> Francesco Chicchiriccò
>
> Tirasa - Open Source Excellence
> http://www.tirasa.net/
>
> Member at The Apache Software Foundation
> Syncope, Cocoon, Olingo, CXF, OpenJPA, PonyMail
> http://home.apache.org/~ilgrosso/
>
>

Reply via email to