Hi All,
I am trying to do a filtering on ciphersuites used for SSL connection with
WebClient. I noticed that I can do a sec:cipherSuitesFilter
in cxf.xml, as following:

http://cxf.apache.org/docs/client-http-transport-including-ssl-support.html#ClientHTTPTransport(includingSSLsupport)-ConfiguringSSLSupport

But could I pass in a cxf.xml as a parameter of 'configLocation' for
WebClient.*create
<https://cxf.apache.org/javadoc/latest/org/apache/cxf/jaxrs/client/WebClient.html#create(java.lang.String,%20java.util.List,%20java.lang.String)>*
(String
<http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true>
 baseAddress, List
<http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true>
<?> providers, String
<http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true>
 configLocation) ? Is the 'configLocation' here supposed to take a cxf.xml?

Also 'configLocation' and 'threadSafe' look mutually exclusive for
WebClient.create(), which means I cannot find a signature with both. Is
that by design? And what if I need to set 'threadSafe' to true and pass in
a 'configLocation' at the same time?

Here is the docs for WebClient class:
https://cxf.apache.org/javadoc/latest/org/apache/cxf/jaxrs/client/WebClient.html

Thanks,
-james

Reply via email to