[ 
https://issues.apache.org/jira/browse/CXF-4273?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13265016#comment-13265016
 ] 

Sergey Beryozkin commented on CXF-4273:
---------------------------------------

I was referring to the possible improvement, however, I guess it should be left 
as is at the moment, given that the proxy to/from http client conversions are 
not the typical operations, having to convert a proxy to the typed Client 
explicitly and then passing a Client ref to the typed fromClient method seems 
OK to me...
Btw, I'm resolving this specific documentation issue as fixed
                
> WebClient.create(proxy) - does not exist
> ----------------------------------------
>
>                 Key: CXF-4273
>                 URL: https://issues.apache.org/jira/browse/CXF-4273
>             Project: CXF
>          Issue Type: Bug
>          Components: Documentation
>    Affects Versions: 2.6
>            Reporter: Aster Anto
>            Assignee: Sergey Beryozkin
>            Priority: Minor
>              Labels: documentation
>
> Referring to http://cxf.apache.org/docs/jax-rs-client-api.html
> Method matching the following does not exist.
> {noformat}WebClient client = WebClient.create(proxy);{noformat}
> However, I got a WebClient from proxy by,
> {noformat}BookStore proxy = JAXRSClientFactory.create("http://books";, 
> BookStore.class);
> Client client = WebClient.client(proxy);
> WebClient webClient = WebClient.fromClient(client);{noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to