Package nl.altindag.ssl.jetty.util
Class JettySslUtils
- java.lang.Object
-
- nl.altindag.ssl.jetty.util.JettySslUtils
-
public final class JettySslUtils extends Object
- Author:
- Hakan Altindag
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.eclipse.jetty.util.ssl.SslContextFactory.ClientforClient(SSLFactory sslFactory)Creates a basicClient SslContextFactorywith the available properties fromSSLFactory.static org.eclipse.jetty.util.ssl.SslContextFactory.ServerforServer(SSLFactory sslFactory)Creates a basicServer SslContextFactorywith the available properties fromSSLFactory.
-
-
-
Method Detail
-
forClient
public static org.eclipse.jetty.util.ssl.SslContextFactory.Client forClient(SSLFactory sslFactory)
Creates a basicClient SslContextFactorywith the available properties fromSSLFactory. The returned object can be enriched with additional configuration for your needs- Parameters:
sslFactory-SSLFactory- Returns:
SslContextFactory
-
forServer
public static org.eclipse.jetty.util.ssl.SslContextFactory.Server forServer(SSLFactory sslFactory)
Creates a basicServer SslContextFactorywith the available properties fromSSLFactory. The returned object can be enriched with additional configuration for your needs- Parameters:
sslFactory-SSLFactory- Returns:
SslContextFactory
-
-