Class QuicConnectOptions

java.lang.Object
io.vertx.core.net.QuicConnectOptions

public class QuicConnectOptions extends Object
Options for configuring how to connect to a QUIC server.
Author:
Julien Viet
  • Constructor Details

    • QuicConnectOptions

      public QuicConnectOptions()
    • QuicConnectOptions

      public QuicConnectOptions(QuicConnectOptions that)
  • Method Details

    • getSslOptions

      public ClientSSLOptions getSslOptions()
      Returns:
      the SSL options overriding the client ssl options
    • setSslOptions

      public QuicConnectOptions setSslOptions(ClientSSLOptions sslOptions)
      Set the SSL to connect with, if none is set, the client one is used.
      Parameters:
      sslOptions - ssl options
      Returns:
      a reference to this, so the API can be used fluently
    • getQLogConfig

      public QLogConfig getQLogConfig()
      Returns:
      the QLog config overriding the client config
    • setQLogConfig

      public QuicConnectOptions setQLogConfig(QLogConfig config)
      Set a QLof config to connect with, if none is set, the client one is used.
      Parameters:
      config - the config
      Returns:
      a reference to this, so the API can be used fluently
    • getTimeout

      public Duration getTimeout()
      Returns:
      the connect timeout duration
    • setTimeout

      public QuicConnectOptions setTimeout(Duration timeout)
      Override the client connect timeout.
      Parameters:
      timeout - connect timeout
      Returns:
      a reference to this, so the API can be used fluently