Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package pl.matisoft.soy.global.runtime.resolvers;
 
 
 import java.util.Map;

Created with IntelliJ IDEA. User: mati Date: 01/11/2013 Time: 16:24
    private String prefix = "_request.parameter.";
    @Override
    public void resolveData(final HttpServletRequest requestfinal HttpServletResponse responsefinal Map<String, ? extends Objectmodelfinal SoyMapData root) {
        for (final Enumeration e = request.getParameterNames(); e.hasMoreElements();) {
            final String paramName = (Stringe.nextElement();
            final String parameter = request.getParameter(paramName);
            if (parameter != null) {
                root.put("_request.parameter." + paramNameparameter);
            }
        }
    }
    public String getPrefix() {
        return ;
    }
    public void setPrefix(String prefix) {
        this. = prefix;
    }
New to GrepCode? Check out our FAQ X