public MultivaluedMap<String, String> getFormParameters() {
   // Tomcat does not set getParameters() if it is a PUT request
   // so pull it out manually
   if (request.method.equals("PUT")) {
     return getPutFormParameters();
   }
   if (formParameters != null) return formParameters;
   formParameters = Encode.encode(getDecodedFormParameters());
   return formParameters;
 }
 public MultivaluedMap<String, String> getPutDecodedFormParameters() {
   if (decodedFormParameters != null) return decodedFormParameters;
   decodedFormParameters = Encode.decode(getFormParameters());
   return decodedFormParameters;
 }