1. 1. Detect a New Connectionhistorical

    1. Set a breakpoint 2. New connection enters

  2. Pipeline Initializationhistorical

    1. When pipeline is created 2. What pipeline looks like 3. Tail and Head

  3. 1. Creating the Serverhistorical

    bind, channelFactory, and creation of NioServerSocketChannel

  4. 1. Create the Spring Containerhistorical

    1. Code to analyze 2. Create ApplicationContext and trace the refresh process

  5. Spring Boot Startup Principlehistorical

    1. Start Spring Boot. 2. Process of creating SpringApplication: determine web environment, load ApplicationContextInitializer and ApplicationListener instances, save the main configuration class, and run the application.

  6. Create Executorhistorical

    1. Code to analyze 2. Create the thread factory 3. Create the executor

  7. 2. Create NioSocketChannelhistorical

    1. Code to analyze 2. NioSocketChannel constructor

  8. Adding and Removing ChannelHandlershistorical

    1. Add a handler 2. Remove a handler

  9. 2. Server Initializationhistorical

    Call path and ServerBootstrap.init

  10. 2. Call BeanFactoryPostProcessor's postProcess Methodhistorical

    1. Code to study 2. Process BeanDefinitionRegistryPostProcessors 3. Process BeanFactoryPostProcessors