Examples of SockJsConfig


Examples of org.jboss.aerogear.io.netty.handler.codec.sockjs.SockJsConfig

public class WebSocketSslServerSslContextTest {

    @Test
    public void createSSLEngine() {
        final SockJsConfig sockJsConfig = SockJsConfig.withPrefix("/echo")
                .tls(true)
                .keyStore("/simplepush-sample.keystore")
                .keyStorePassword("simplepush")
                .build();
        final SSLEngine engine = new WebSocketSslServerSslContext(sockJsConfig).sslContext().createSSLEngine();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.