Package com.yahoo.jdisc.http.ssl.impl
Class TlsContextBasedProvider
java.lang.Object
com.yahoo.component.AbstractComponent
com.yahoo.jdisc.http.ssl.impl.TlsContextBasedProvider
- All Implemented Interfaces:
com.yahoo.component.Component
,com.yahoo.component.Deconstructable
,SslContextFactoryProvider
,AutoCloseable
,Comparable<com.yahoo.component.Component>
public abstract class TlsContextBasedProvider
extends com.yahoo.component.AbstractComponent
implements SslContextFactoryProvider
- Author:
- bjorncs
-
Field Summary
Fields inherited from class com.yahoo.component.AbstractComponent
isDeconstructable
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal org.eclipse.jetty.util.ssl.SslContextFactory
getInstance
(String containerId, int port) This method is called once for each SSL connector.protected abstract com.yahoo.security.tls.TlsContext
getTlsContext
(String containerId, int port) Methods inherited from class com.yahoo.component.AbstractComponent
clone, compareTo, deconstruct, getClassName, getId, getIdString, hasInitializedId, initId, isDeconstructable, setIsDeconstructable, toString
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.yahoo.jdisc.http.ssl.SslContextFactoryProvider
close
-
Constructor Details
-
TlsContextBasedProvider
public TlsContextBasedProvider()
-
-
Method Details
-
getTlsContext
-
getInstance
Description copied from interface:SslContextFactoryProvider
This method is called once for each SSL connector.- Specified by:
getInstance
in interfaceSslContextFactoryProvider
- Returns:
- returns an instance of
SslContextFactory
for a given JDisc http server
-