Class DefaultSslContextFactoryProvider

java.lang.Object
com.yahoo.component.AbstractComponent
com.yahoo.jdisc.http.ssl.impl.DefaultSslContextFactoryProvider
All Implemented Interfaces:
com.yahoo.component.Component, com.yahoo.component.Deconstructable, SslContextFactoryProvider, AutoCloseable, 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
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    org.eclipse.jetty.util.ssl.SslContextFactory
    getInstance(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

    Methods inherited from interface com.yahoo.jdisc.http.ssl.SslContextFactoryProvider

    close
  • Constructor Details

    • DefaultSslContextFactoryProvider

      @Inject public DefaultSslContextFactoryProvider(ConnectorConfig connectorConfig)
  • Method Details

    • getInstance

      public org.eclipse.jetty.util.ssl.SslContextFactory getInstance(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()
      Specified by:
      deconstruct in interface com.yahoo.component.Deconstructable
      Overrides:
      deconstruct in class com.yahoo.component.AbstractComponent