Interface PermutableSslContextProvider

  • All Superinterfaces:
    java.lang.AutoCloseable, java.io.Closeable, java.util.function.Function<io.netty.handler.ssl.SslContext,​io.netty.handler.ssl.SslContext>, SslContextProvider, java.util.function.Supplier<io.netty.handler.ssl.SslContext>

    public interface PermutableSslContextProvider
    extends SslContextProvider, java.util.function.Function<io.netty.handler.ssl.SslContext,​io.netty.handler.ssl.SslContext>
    Provides setter functions for SslContextProvider.
    Since:
    2.0
    See Also:
    SslContextProvider
    • Method Summary

      All Methods Instance Methods Abstract Methods Default Methods 
      Modifier and Type Method Description
      default io.netty.handler.ssl.SslContext apply​(io.netty.handler.ssl.SslContext sslContext)  
      io.netty.handler.ssl.SslContext set​(io.netty.handler.ssl.SslContext sslContext)
      Set the holding SslContext to sslContext and returns the old value.
      • Methods inherited from interface java.util.function.Function

        andThen, compose
    • Method Detail

      • apply

        default io.netty.handler.ssl.SslContext apply​(io.netty.handler.ssl.SslContext sslContext)
        Specified by:
        apply in interface java.util.function.Function<io.netty.handler.ssl.SslContext,​io.netty.handler.ssl.SslContext>
      • set

        io.netty.handler.ssl.SslContext set​(io.netty.handler.ssl.SslContext sslContext)
        Set the holding SslContext to sslContext and returns the old value.
        Parameters:
        sslContext - the new SslContext
        Returns:
        the old SslContext