fix missing SslContextFactory
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
This commit is contained in:
parent
25e3f1c1e0
commit
3c6c5075f8
|
@ -38,6 +38,7 @@ import org.eclipse.jetty.http.HttpMethod;
|
|||
import org.eclipse.jetty.util.BufferUtil;
|
||||
import org.eclipse.jetty.util.Utf8StringBuilder;
|
||||
import org.eclipse.jetty.util.ajax.JSON;
|
||||
import org.eclipse.jetty.util.ssl.SslContextFactory;
|
||||
|
||||
/**
|
||||
* Servlet implementation class AsyncRESTServlet.
|
||||
|
@ -62,7 +63,7 @@ public class AsyncRestServlet extends AbstractRestServlet
|
|||
{
|
||||
super.init(servletConfig);
|
||||
|
||||
_client = new HttpClient();
|
||||
_client = new HttpClient(new SslContextFactory.Client());
|
||||
|
||||
try
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue