java.lang.Object
org.apache.jena.fuseki.main.JettyHttps
Library of functions to help with setting Jetty up with HTTPS.
This code is not supposed to be fully general.
It sets up "http" to redirect to "https".
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.eclipse.jetty.server.Server
jettyServerHttps
(org.eclipse.jetty.ee10.servlet.ServletContextHandler handler, String keystore, String certPassword, int httpPort, int httpsPort) Create a HTTPS Jetty server for theServletContextHandler
static org.eclipse.jetty.server.Server
jettyServerHttps
(org.eclipse.jetty.ee10.servlet.ServletContextHandler handler, String keystore, String certPassword, int httpPort, int httpsPort, int minThreads, int maxThreads) Create a HTTPS Jetty server for theServletContextHandler
-
Constructor Details
-
JettyHttps
public JettyHttps()
-
-
Method Details
-
jettyServerHttps
public static org.eclipse.jetty.server.Server jettyServerHttps(org.eclipse.jetty.ee10.servlet.ServletContextHandler handler, String keystore, String certPassword, int httpPort, int httpsPort) Create a HTTPS Jetty server for theServletContextHandler
If httpPort is -1, don't add http otherwise make http redirect to https.
-
jettyServerHttps
public static org.eclipse.jetty.server.Server jettyServerHttps(org.eclipse.jetty.ee10.servlet.ServletContextHandler handler, String keystore, String certPassword, int httpPort, int httpsPort, int minThreads, int maxThreads) Create a HTTPS Jetty server for theServletContextHandler
If httpPort is -1, don't add http otherwise make http redirect to https.
-