code: public void setAllowedMethods(String[] methods)
      {
          StringBuffer b = new StringBuffer();
          _methods=methods;
          _methodMap.clear();
          for (int i=0;i<methods.length;i++)
          {
              _methodMap.put(methods[i],methods[i]);
              if (i>0)
                  b.append(',');
              b.append(methods[i]);
          }
          _allowed=b.toString();
      }
docs: /* ------------------------------------------------------------