Package reactor.net.config

Examples of reactor.net.config.SslOptions


  }

  @Test
  public void tcpServerHandlesJsonPojosOverSsl() throws InterruptedException {
    final int port = SocketUtils.findAvailableTcpPort();
    SslOptions serverOpts = new SslOptions()
        .keystoreFile("./src/test/resources/server.jks")
        .keystorePasswd("changeit");

    SslOptions clientOpts = new SslOptions()
        .keystoreFile("./src/test/resources/client.jks")
        .keystorePasswd("changeit")
        .trustManagers(new Supplier<TrustManager[]>() {
          @Override
          public TrustManager[] get() {
View Full Code Here

TOP

Related Classes of reactor.net.config.SslOptions

Copyright © 2018 www.massapicom. 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.