Skip to content

Commit 1fdfb5f

Browse files
committed
Improve wording on RestController request handling
1 parent 8353865 commit 1fdfb5f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

docs/internal/GeneralArchitectureGuide.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,10 @@ There are many built-in REST endpoints configured statically in [ActionModule][A
2222
endpoints can be contributed by [ActionPlugin]s by implementing the [getRestHandlers] method.
2323

2424
Typically, REST actions follow the class naming convention `Rest*Action`, which makes them easier to find, but not always; the
25-
[#routes()][RestHandler#routes] definition can also be helpful in finding a REST action. [RestController#dispatchRequest] eventually
26-
calls [#handleRequest][RestHandler#handleRequest] on a [RestHandler] implementation. [BaseRestHandler] is a common base class extended
27-
by most `Rest*Action` implementations.
25+
[#routes()][RestHandler#routes] definition can also be helpful in finding a REST action.
26+
27+
When a [RestRequest] is received, [RestController#dispatchRequest] uses the request path to identify the destination handler and calls
28+
[#handleRequest][RestHandler#handleRequest] on it. [BaseRestHandler] is a common base class extended by most `Rest*Action` implementations.
2829

2930
### Handler invocation
3031

0 commit comments

Comments
 (0)