Listing 4. Code for the get method.
清单4 . get方法的代码。
The get method then processes this request.
get方法随后处理此请求。
Only the GET method is supported on this service.
该服务上只支持GET方法。
Yet a growing number of users around the world see it as the latest method for busy people to get and share information quickly.
VOA: special.2009.02.06
I'd really like to have that modularity that says, I'm only going to get access to the values, not by calling their names, but by calling some specific method to get access to their names.
这样我们就丢掉了代码的模块化,我很希望代码有这样的模块化:,我访问变量的值,不是通过直接调用它们的名字,而是通过调用某个可以,访问这些变量名的方法来访问。
If I had had a clean interface, that I had a specific method to get those values out, I wouldn't have to change anything.
如果之前我创建了,一个清楚的借口,也就是我有特定的,取得这些值的方法的话。
应用推荐