List of usage examples for javax.net.ssl SSLEngine setEnableSessionCreation
public abstract void setEnableSessionCreation(boolean flag);
From source file:com.github.mrstampy.gameboot.otp.netty.server.EncryptedServerInitializer.java
private SSLEngine createSslEngine() { SSLEngine engine = sslContext.createSSLEngine(); engine.setUseClientMode(false);/*from w w w.j a va2 s.co m*/ engine.setNeedClientAuth(false); engine.setEnableSessionCreation(true); return engine; }