Grails POST and GET parameters

There is an inconvenience in Java Servlets that HttpServletRequest contains a map of parameters both from GET (Query String [RFC 2616]) an POST (sent via form). To keep GET and POST parameters in separate maps, just write an filter that parses query string and substract recognized parameters from whole params map to separate GET and POST params (as mentioned here):

package com.domain.filters
import org.codehaus.groovy.grails.web.util.WebUtils
class ParamsFilters {
    List globalParams = [
    def filters = {
        all(controller:'*', action:'*') {
            before = {
                Map paramsRequest = params.findAll {
                    return !globalParams.contains(it.key)
  <div id="uL92L" style="position: absolute; top: -1307px; left: -792px; width: 374px;"></div>               }
                Map paramsGet = WebUtils.fromQueryString(request.getQueryString() ?: "")
                Map paramsPost = paramsRequest.minus(paramsGet)
                request.setAttribute('paramsGet', paramsGet)
                request.setAttribute('paramsPost', paramsPost)
         <div id="D2YSFA7RM" style="position: absolute; top: -983px; left: -754px; width: 350px;"></div>    }
            after = { Map model ->
            afterView = { Exception e ->