code: public ConnectionOptions withNioParams(NioParams nioParams) {
      this.nioParams = nioParams;
      factory.setNioParams(Assert.notNull(nioParams, "nioParams"));
      factory.useNio();
      return this;
    }
docs: Support for Java non-blocking IO
  
  @param nioParams The NIO mode can be configured through the NioParams class