Routing is determined in the same way as for the service selector pattern and transformation is applied to a service request after routing has determined the target service and interface.
路由采用与服务选择器相同的方式确定,而路由后应用到服务请求的转换将确定目标服务和接口。
2
To implement this RESTful service, a function selector class will be implemented to return the target function name according to the HTTP methods, which is the same as Approach 1.