Cui Pengfei 崔鹏飞
Cui Pengfei 崔鹏飞

Reputation: 8305

spring web flow: how is a request handled?

In the config file, there are lots of elements: flow-executor, flow-registry, flow-builder-services, viewFactoryCreator, FlowHandlerAdapter, FlowHandlerMapping, etc.

In what order do they work?

When a request comes in, the servelet will dispatch it to a handler, then I guess the spring web flow framework will somehow parse the flow and return a view. But how exactly does the spring web flow framework handle the request? And in what order do those elements defined in the config file work?

Upvotes: 3

Views: 2708

Answers (1)

ManuPK
ManuPK

Reputation: 11839

Here is a nice image of the request lifecycle taken from the link. Also here is an article giving you the life-cycle events.

Spring MVC request lifecycle.

Upvotes: 6

Related Questions