Jersey client by default uses HttpUrlConnection from JDK which does not
allow to set tcp no delay option. All you can set is read and connection
timeout, see
On 8/31/12 2:52 PM, Cox,Lisa wrote:
>
> Is there a way to set tcp nodelay on the Jersey client?
>
> I am using
>
> import com.sun.jersey.api.client.Client;
>
> Client c = Client.create();
>
> WebResource wr = c.resource(targetURL);
>
> String response =
> wr.path("/someplace").queryParams(parms).get(String.class);
>
> I've been looking all over the place for some ability to set the
> tcpNoDelay on the socket to true...
>
> Thanks much,
>
> Lisa Cox
>
> Database Architect
>
> OCLC, Inc.
>
> 6565 Kilgour Place
>
> Dublin, OH 43017
>