Beispiel #1
0
    @Override
    public List<String> getHeaderValues(String s) {
      Enumeration<String> values = m_request.getHeaders(s);
      List<String> ret = new ArrayList<String>();
      while (values.hasMoreElements()) {
        ret.add(values.nextElement());
      }

      return (ret);
    }
Beispiel #2
0
    @Override
    public List<String> getParameterValues(String s) {
      String[] values = m_request.getParameterValues(s);
      List<String> ret = new ArrayList<String>();

      for (String value : values) {
        ret.add(value);
      }

      return (ret);
    }