Code sharing request response tomcat

Poller NioEndpoint the interrogator continuously scans whether a new event () generates a new event after configuration method call.

AbstractProtocol.class performed after the discovery process () method of treatment, the implementing class is a process AbstractProcessorLight.class (). Process in the method of dispatch requests forwarded to the appropriate servlet wrapper process is performed, and the process returns SocketState state.

process method herein calls the service method Http11Processor class, perform specific processing logic. Populate the request and response objects io stream processing.

 

Guess you like

Origin www.cnblogs.com/guanghuiqq/p/11267311.html