title: Spring parameter too long
body: <pre><code>@RequestMapping(value = "/createItem", method = RequestMethod.POST)
      @Override
      public void createItem(@RequestParam(value="userId") String userId, @RequestParam(value="title") String title, @RequestParam(value="subtitle") String subtitle, @RequestParam(value="description") String description, @RequestParam(value="category") String category, @RequestParam(value="datapack") String datapack) {
          this.itemDAO.createItem(userId, title, subtitle, description, category, datapack);
  }
  </code></pre>
  
  <p>I am creating RESTful application with Spring. The method above works just fine, but when the datapack is longer than a certain length it will result in error. The error says...</p>
  
  <blockquote>
    <p>Error parsing HTTP request header  Note: further occurrences of HTTP
    header parsing errors will be logged at DEBUG level.</p>
  </blockquote>
  
  <p>I need to pass the datapack as a parameter and the datapack itself will be a json file which I convert it to string. </p>
  
  <p>The datapack file might be very complex and big. How do I solve this?</p>
  
  <p>Here's the example of the request:</p>
  
  <pre><code>http://localhost:8090/createItem?userId=test&amp;title=test&amp;subtitle=test&amp;description=test&amp;category=test&amp;datapack=
    {
      "CLASS": "com.mincom.ellipse.edoi.ejb.menu_item.MENU_ITEMRec",
      "INSTANCE": {
        "m_creationDate": "20150824",
        "m_creationTime": "001616",
        "m_creationUser": "SR4187",
        "m_lastModDate": "20150824",
        "m_lastModTime": "001616",
        "m_lastModUser": "SR4187",
        "m_menuType": "",
        "m_invokationString": "",
        "primaryKey": {
          "m_uuid": "3b4d95fe3dd3432fb00cde0cc25f903f"
        }
      }
    },
    {
      "CLASS": "com.mincom.ellipse.edoi.ejb.i18n_descriptions.I18N_DESCRIPTIONSRec",
      "INSTANCE": {
        "m_creationDate": "20150824",
        "m_creationTime": "001616",
        "m_creationUser": "SR4187",
        "m_lastModDate": "20150824",
        "m_lastModTime": "001616",
        "m_lastModUser": "SR4187",
        "m_description": "CUSTOM_MENU",
        "primaryKey": {
          "m_locale": "en",
          "m_uuid": "3b4d95fe3dd3432fb00cde0cc25f903f"
        }
      }
    },
    {
      "CLASS": "com.mincom.ellipse.edoi.ejb.top_level_menus.TOP_LEVEL_MENUSRec",
      "INSTANCE": {
        "m_creationDate": "20150824",
        "m_creationUser": "SR4187",
        "m_lastModDate": "20150824",
        "m_lastModTime": "001620",
        "m_creationTime": "001620",
        "m_lastModUser": "SR4187",
        "m_uuid": "3b4d95fe3dd3432fb00cde0cc25f903f",
        "primaryKey": {
          "m_name": "SX"
        }
      }
    }
  </code></pre>
  
  <p>Examples above works, but if I test with longer JSON file, it won't work.</p>