Map.Entry entry = (Map.Entry) i.next(); String name =(String) entry.getKey();
Headers.HeaderElement entry = (Headers.HeaderElement) i.next();
  void notifyHeaderHandlers(Headers headers)  {    for (Iterator i = headers.entrySet().iterator(); i.hasNext(); )      {        Map.Entry entry = (Map.Entry) i.next();        String name =(String) entry.getKey();        // Handle Set-Cookie        if ("Set-Cookie".equalsIgnoreCase(name))          {            String value = (String) entry.getValue();            handleSetCookie(value);          }        ResponseHeaderHandler handler =          (ResponseHeaderHandler) responseHeaderHandlers.get(name);        if (handler != null)          {            String value = (String) entry.getValue();            handler.setValue(value);          }      }  }