NOTE
11.4 Connector
Tomcat Connector accepts network requests and passes them to the adapter and container. These notes examine its structure through Boss/Worker responsibilities.
This is a historical learning note and may contain outdated or incomplete understanding.
Overview

-
The Connector uses the boss/worker design pattern and the Adapter pattern.
-
Endpoint is responsible for receiving TCP/IP requests – boss.
-
Processor is responsible for converting TCP/IP requests into HTTP requests – worker.
-
Adapter is responsible for converting request/response into servletRequest/servletResponse.
Class Diagram
- ProtocolHandler

- EndPoint

- Processor

- Adapter

Drag to pan, scroll to zoom, and click a node to expand or collapse it. Large maps start with deeper levels collapsed; click nodes to expand them.
Discussion
Sign in with GitHub to comment. Discussions are stored as GitHub Issues.View on GitHub