fix missing SslContextFactory

Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
This commit is contained in:
olivier lamy 2020-08-12 18:51:39 +08:00
parent 25e3f1c1e0
commit 3c6c5075f8
1 changed files with 2 additions and 1 deletions

View File

@ -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
{