code: public void startup() {
          if (isRunning) return;
  
          Executors.getInstance().execute(new Runnable() {
              @Override
              public void run() {
                  DispatcherHandler handler = new DispatcherHandler(AndServer.getContext());
                  ComponentRegister register = new ComponentRegister(AndServer.getContext());
                  register.register(handler, mGroup);
  
                  mHttpServer = ServerBootstrap.bootstrap()
                      .setSocketConfig(SocketConfig.custom()
                          .setSoKeepAlive(true)
                          .setSoReuseAddress(true)
                          .setSoTimeout(mTimeout)
                          .setTcpNoDelay(true)
                          .build())
                      .setConnectionConfig(
                          ConnectionConfig.custom().setBufferSize(4 * 1024).setCharset(Charsets.UTF_8).build())
                      .setLocalAddress(mInetAddress)
                      .setListenerPort(mPort)
                      .setSslContext(mSSLContext)
                      .setSslSetupHandler(new SSLInitializerWrapper(mSSLInitializer))
                      .setServerInfo("AndServer/2.0.0")
                      .registerHandler("*", handler)
                      .setExceptionLogger(ExceptionLogger.NO_OP)
                      .create();
                  try {
                      isRunning = true;
                      mHttpServer.start();
  
                      Executors.getInstance().post(new Runnable() {
                          @Override
                          public void run() {
                              if (mListener != null) mListener.onStarted();
                          }
                      });
                      Runtime.getRuntime().addShutdownHook(new Thread() {
                          @Override
                          public void run() {
                              mHttpServer.shutdown(3, TimeUnit.SECONDS);
                          }
                      });
                  } catch (final Exception e) {
                      Executors.getInstance().post(new Runnable() {
                          @Override
                          public void run() {
                              if (mListener != null) mListener.onException(e);
                          }
                      });
                  }
              }
          });
      }
docs: Start the server.