Examples of ContextMap


Examples of org.rendersnake.internal.ContextMap

     * @param html
     * @param name
     * @return aString | null which is the value of a header of the inbound Http request.
     */
    public static String getHeaderValue(HtmlCanvas html, String name) {
        ContextMap map = html.getPageContext().getContextMap(PageContext.REQUEST_HEADERS);
        if (null == map) return null;
        return map.getString(name);
    }
View Full Code Here

Examples of org.switchyard.component.common.knowledge.expression.ContextMap

        Map<String, Object> variables = new HashMap<String, Object>();
        if (expressionVariables != null) {
            variables.putAll(expressionVariables);
        }
        // these always take precedence!
        variables.put(CONTEXT, new ContextMap(message.getContext(), Scope.MESSAGE));
        variables.put(MESSAGE, message);
        return expression.run(variables);
    }
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.