Package com.springsource.insight.intercept.operation

Examples of com.springsource.insight.intercept.operation.Operation.createList()


    public void testLocalViewWithStatus() throws Exception {
        Operation operation = new Operation()
                .put("requestMethod", "PUT")
                .put("requestUri", "/my/uri")
                .put("actionName", "actionName");
        OperationList actionParams = operation.createList("actionParams");
        actionParams.createMap().put("key", "keyA").put("value", "valA");
        actionParams.createMap().put("key", "keyB").put("value", "valB");
        actionParams.createMap().put("key", "keyC").put("value", "valC");

        model.put("operation", operation.asMap());
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.