ttomcat-1778514358873.zip-extract/apache-tomcat-11.0.18-src/webapps/docs/architecture/requestProcess/11_nio.plantuml

Path
ttomcat-1778514358873.zip-extract/apache-tomcat-11.0.18-src/webapps/docs/architecture/requestProcess/11_nio.plantuml
Status
scanned
Type
file
Name
11_nio.plantuml
Extension
.plantuml
Programming language

      
    
Mime type
text/plain
File type
ASCII text, with CRLF line terminators
Tag

      
    
Rootfs path

      
    
Size
2492 (2.4 KB)
MD5
41cba97f6e9be2b53c7963ed7965bf21
SHA1
64ffe31add17ca34f0e9cf5edb388f73a96f2449
SHA256
a7537ad1ba8f5c6ccd5ed47d84791ecde14e7a721b439ddfb3f8863d38074746
SHA512

      
    
SHA1_git
2662f0a98d6c59b2e86dd2124284e8021b57540f
Is binary

      
    
Is text
True
Is archive

      
    
Is media

      
    
Is legal

      
    
Is manifest

      
    
Is readme

      
    
Is top level

      
    
Is key file

      
    
11_nio.plantuml | 2.4 KB |

@startuml ' Licensed to the Apache Software Foundation (ASF) under one or more ' contributor license agreements. See the NOTICE file distributed with ' this work for additional information regarding copyright ownership. ' The ASF licenses this file to You under the Apache License, Version 2.0 ' (the "License"); you may not use this file except in compliance with ' the License. You may obtain a copy of the License at ' ' http://www.apache.org/licenses/LICENSE-2.0 ' ' Unless required by applicable law or agreed to in writing, software ' distributed under the License is distributed on an "AS IS" BASIS, ' WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ' See the License for the specific language governing permissions and ' limitations under the License. hide footbox skinparam style strictuml activate Acceptor participant NioEndpoint participant ServerSocket participant SocketChannel activate Poller participant Selector participant Executor activate Worker group Acceptor Loop Acceptor -> NioEndpoint ++: serverSocketAccept() NioEndpoint -> ServerSocket ++: accept() note right of ServerSocket This is where Tomcat waits for incoming connections end note ServerSocket -->> SocketChannel **: return return Acceptor -> NioEndpoint ++: setSocketOptions() NioEndpoint -> Poller ++: register() return return end group Poller Loop (simplified) Poller -> Poller ++: events() Poller -> SocketChannel ++: register(OP_READ) return return Poller -> Selector ++: select() return Poller -> Poller ++: processKey() Poller -> NioEndpoint ++: processSocket() NioEndpoint -> NioEndpoint ++: createSocketProcessor() NioEndpoint -->> SocketProcessor **: NioEndpoint -> Executor ++: execute() Executor -> Worker ++: run() return return return return return end Worker -> SocketProcessor ++: run() SocketProcessor -> SocketChannel ++: handshake() note right of SocketChannel TLS handshake end note return SocketProcessor -> ConnectionHandler ++: process() ConnectionHandler -> Protocol ++: createProcessor() Protocol -->> Processor **: activate Processor Processor -->> CoyoteRequest **: Processor -->> CoyoteResponse **: return return ConnectionHandler -> Processor ++: process() Processor -> Processor ++: service() note right of Processor More detail of this processing in the protocol specific diagrams end note return return return return @enduml
Detected license expression
apache-2.0
Detected license expression (SPDX)
Apache-2.0
Percentage of license text
43.12
Copyrights

      
    
Holders

      
    
Authors

      
    
License detections License expression License expression SPDX
apache_2_0-4bde3f57-78aa-4201-96bf-531cba09e7de apache-2.0 Apache-2.0
URL Start line End line
http://www.apache.org/licenses/LICENSE-2.0 10 10