WebSocket client can be configured for an interface-driven endpoint using:
connectToServer(Class<? extends Endpoint>, ClientEndpointConfiguration,
URI).
For annotation-driven endpoint, subprotocols can be configured using the
annotation. How can extensions be configured ?
How do I get hooks beforeRequest and afterResponse in this case ?
Similarly, what if my app wants to rely upon the default configuration
for interface-driven client ? Can we provide an overloaded method ?
Thanks,
Arun
--
http://twitter.com/arungupta
http://blogs.oracle.com/arungupta