Examples of ConversationSet


Examples of com.google.code.rees.scope.conversation.configuration.ConversationSet

    public static Map<String, String> getRequestContext(HttpServletRequest request) {

        Map<String, String> requestContext = new HashMap<String, String>();
        if (request != null) {
            Map<String, String[]> params = request.getParameterMap();
            ConversationSet realConversationNames = ConversationSet.get();
            for (Entry<String, String[]> param : params.entrySet()) {
              String candidateConversationName = param.getKey();
              String candidateConversationId = param.getValue()[0];
                if (realConversationNames.contains(candidateConversationName)) {
                    requestContext.put(candidateConversationName, candidateConversationId);
                }
            }
        }
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.