Class ManyMap

java.lang.Object
org.ujorm.tools.web.request.ManyMap

public class ManyMap extends Object
  • Constructor Details

    • ManyMap

      public ManyMap()
  • Method Details

    • put

      public void put(String key, String... values)
      Method to add a value to the specified key
    • getList

      public List<String> getList(String key)
      Method to retrieve the list of values for a specified key If the key is not found, return an empty list
    • get

      public String[] get(String key)
      Method to retrieve the list of values for a specified key If the key is not found, return an empty list
    • keySet

      public Set<String> keySet()
      Returns a key set
    • toRequest

      public URequest toRequest(Reader reader)
      Create new Servlet request
    • of

      public static final ManyMap of(Map<String,String> map)