Class SniConfiguration

java.lang.Object
org.jboss.resteasy.plugins.server.netty.SniConfiguration

@Deprecated(forRemoval=true, since="6.2.13.Final") public class SniConfiguration extends Object
Deprecated, for removal: This API element is subject to removal in a future version.
use the new dependencies
TLS/SSL Server Name Indication configuration.
Author:
Sebastian Ɓaskawiec
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final io.netty.util.DomainWildcardMappingBuilder<io.netty.handler.ssl.SslContext>
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    SniConfiguration(SSLContext defaultServerKeystore)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Constructs new SniConfiguration.
  • Method Summary

    Modifier and Type
    Method
    Description
    addSniMapping(String sniHostName, SSLContext sslContext)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Adds SNI mapping.
    protected io.netty.util.Mapping<String,io.netty.handler.ssl.SslContext>
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • mapping

      protected final io.netty.util.DomainWildcardMappingBuilder<io.netty.handler.ssl.SslContext> mapping
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Constructor Details

    • SniConfiguration

      public SniConfiguration(SSLContext defaultServerKeystore)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Constructs new SniConfiguration.
      Parameters:
      defaultServerKeystore - default keystore to be used when no SNI is specified by the client.
  • Method Details

    • addSniMapping

      public SniConfiguration addSniMapping(String sniHostName, SSLContext sslContext)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Adds SNI mapping.
      Parameters:
      sniHostName - SNI Host Name from TLS Extensions.
      sslContext - SSLContext to be associated with given SNI Host Name.
      Returns:
      this configuration.
    • buildMapping

      protected io.netty.util.Mapping<String,io.netty.handler.ssl.SslContext> buildMapping()
      Deprecated, for removal: This API element is subject to removal in a future version.