The script specifies that it wants the operand resource returned as an implementation of the IAspectString interface.
脚本指定它期望operand资源作为IAspectString接口的实现来返回。
We could use the context object to obtain the calling request, look for the named parameter "operand", obtain its URI and issue a sub-request for that resource.
我们可以使用上下文对象来获得调用的请求,寻找命名参数“operand”,获得其uri并对该资源发出一个子请求。
For example, the toUpper service takes a single parameter named operand and returns the upper case transformation of the resource identified by the URI supplied as the argument.
例如,toUpper服务带有一个叫做operand的参数,并且返回参数uri所表示的资源的大写形式。
应用推荐