jdr/jboss-as-jdr/src/main/java/org/jboss/as/jdr/commands/CallAS7.java
public CallAS7 resource(String... parts) {
        for(String part : parts ) {
            this.resource.add(part);
        }
        return this;
    }
public CallAS7 resource(String... parts) {
        for(String part : parts ) {
            this.resource.add(part);
        }
        return this;
    }
appends resource parts to the resource to call
<p></p>
If you want to call /foo=bar/baz=boo/, do this:
<pre>
.resource("foo", "bar", "baz", "boo")
</pre>

@param parts to call
@return this