Is it possible to use custom HTTP client with JAX-WS RI?
We've a requirement to monitor some Web service metrics like average response time (and many more) through JMX. The plan is to decorate the Apache HTTP Client to provide the monitoring feature. However, I don't see any way to replace the HttpURLConnection implementation used by JAX-WS RI with my own. The class of interest seems to be HttpClientTransport but even I subclass it, the framework doesn't provide a hook to plugin my custom class.
What happened to the open-closed principle? Any ideas are welcome.