I'm using JBoss Remoting to access a Web service (via HTTP), and I would like to set the TCP_NO_DELAY option on the sockets used by the remoting client. Is there any way to do this, via the remoting API or not? I know that "enableTcpNoDelay" can be enabled for the socket invoker client, but I don't know how to do this in the HTTP case.
Thanks in advance.
The Remoting http transport communicates by way of HttpURLConnections, and I'm not aware of any way to access sockets managed by an ordinary HttpUrlConnection. The secure subclass HttpsURLConnection has a setSSLSocketFactory() method, which would allow you to create and configure sockets. Unfortunately, HttpURLConnection doesn't have such a method.