users@jersey.java.net

Re: [Jersey] Jersey Client with https

From: Paul Sandoz <Paul.Sandoz_at_Sun.COM>
Date: Wed, 26 Nov 2008 17:49:11 +0100

On Nov 26, 2008, at 5:14 PM, Robert Naczinski wrote:

> Hi,
>
> can I use jersey client with SSL ( URL starts with 'http')?
>

The URL scheme has to be "https" for HTTP-based secured by SSL.

So if you use a URL say "https://host/path" it should work, since the
Jersey client API defers to HttpURLConnection that supports the https
scheme.

Paul.