Package org.encuestame.utils.enums

Examples of org.encuestame.utils.enums.RequestSourceType


        log.trace("/poll/vote/post VOTE POLL " + multiplesVotes);
        log.trace("/poll/vote/post VOTE POLL " + type_form);
        log.trace("/poll/vote/post VOTE POLL " + slugName);
        log.trace("*************************************************");
        // default path
        final RequestSourceType requestSourceType = RequestSourceType.getSource(type_form);
        final String isEmbedded = !requestSourceType.equals(RequestSourceType.EMBEDDED) ? "" : "embedded/";
        log.debug("isEmbedded   * " + isEmbedded);
        String pathVote = "poll/" + isEmbedded + "voted";
        Poll poll = new Poll();
        // Check IP in BlackListFile - Validation
        final String IP = getIpClient(req);
View Full Code Here

TOP

Related Classes of org.encuestame.utils.enums.RequestSourceType

Copyright © 2018 www.massapicom. 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.