All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.muserver.SslContextProvider Maven / Gradle / Ivy

There is a newer version: 2.0.3
Show newest version
package io.muserver;

import io.netty.handler.ssl.SslContext;

import java.util.concurrent.atomic.AtomicReference;

class SslContextProvider {

    private final AtomicReference nettySslContext = new AtomicReference<>();

    public SslContextProvider(SslContext context) {
        set(context);
    }

    public SslContext get() {
        return nettySslContext.get();
    }

    public void set(SslContext newValue) {
        nettySslContext.set(newValue);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy