[wildfly-dev] Pending core split

Stuart Douglas stuart.w.douglas at gmail.com
Tue Jul 1 11:10:24 EDT 2014


>> - Undertow HTTP Client API - this was really just created for the proxy code, so it will be lacking compared to httpclient, but it or the former option might meet your needs.
>
> If it supports SSL with the ability to enable/disable a trust manager,
> then ya, it could be used.
>

It does, however the main issue you will have is that is designed for 
use with Undertow proxy, so it can basically only be used from an Xnio 
IO thread (basically in the proxy the incoming and outgoing request 
shares the same IO thread, which is much faster as there is no thread 
safety constructs required).

If you are just sending requests from inside an Undertow HttpHandler 
then this should be ok, otherwise it would be possible to just write a 
simple thread safe wrapper around it.

Stuart


More information about the wildfly-dev mailing list