Grokking Spring Boot
Vote

0% completed

​

The Embedded Server

These lines come from the booking service's log while it answered GET /hello, shortened to the thread, the class, and the message.

[nio-8105-exec-6] DispatcherServlet : GET "/hello", parameters={} [nio-8105-exec-6] RequestMappingHandlerMapping : Mapped to com.example.booking.HelloController#hello() [nio-8105-exec-6] DispatcherServlet : Completed 200 OK

The text in brackets is the name of the thread that ran the request, cut to fit the column. Its full name is http-nio-8105-exec-6, and it belongs to Tomcat, not to the service's code

.....

.....

.....

Like the course? Get enrolled and start learning!

Reading Progress

0%


Vote for new content