Why RestXXXAction is called Action while it is really a handler?

which is cause misunderstanding for reading code.

There isn't a great reason, just tradition.

The TransportXXAction are so named because they "transport" the action to the right node. I think of them as actually implementing the guts of the action, which might or might not include moving the execution to another node.