The last part of the method parses the Xml result using a Groovy XmlSlurper and stores the results in a hashmap.
方法的最后部分使用Groovy xmlslurper解析xml结果并将结果存储在hashmap里。
In this case, TripController redirects you to the list action, passing along all of the parameters (or QueryString) in the params hashmap.
在此,TripController重定向到list动作,同时传递params hashmap中的所有的参数(或QueryString)。
I find it clearer to ignore this interface-like structure for most purposes and instead think of annotations as a hashmap of name-value pairs.
我发现大多数情况下忽略这种类似于接口的结构,而把注释看作是名值对的hashmap会更清晰。
应用推荐