Class DefaultSslContextFactoryProvider

  • All Implemented Interfaces:
    com.yahoo.component.Component, SslContextFactoryProvider, java.lang.AutoCloseable, java.lang.Comparable<com.yahoo.component.Component>

    public class DefaultSslContextFactoryProvider
    extends com.yahoo.component.AbstractComponent
    implements SslContextFactoryProvider
    The default implementation of SslContextFactoryProvider to be injected into connectors without explicit ssl configuration.
    Author:
    bjorncs
    • Field Summary

      • Fields inherited from class com.yahoo.component.AbstractComponent

        isDeconstructable
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void deconstruct()  
      org.eclipse.jetty.util.ssl.SslContextFactory getInstance​(java.lang.String containerId, int port)
      This method is called once for each SSL connector.
      • Methods inherited from class com.yahoo.component.AbstractComponent

        clone, compareTo, getClassName, getId, getIdString, hasInitializedId, initId, isDeconstructable, setIsDeconstructable, toString
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • DefaultSslContextFactoryProvider

        @Inject
        public DefaultSslContextFactoryProvider​(ConnectorConfig connectorConfig)
    • Method Detail

      • getInstance

        public org.eclipse.jetty.util.ssl.SslContextFactory getInstance​(java.lang.String containerId,
                                                                        int port)
        Description copied from interface: SslContextFactoryProvider
        This method is called once for each SSL connector.
        Specified by:
        getInstance in interface SslContextFactoryProvider
        Returns:
        returns an instance of SslContextFactory for a given JDisc http server
      • deconstruct

        public void deconstruct()
        Overrides:
        deconstruct in class com.yahoo.component.AbstractComponent