Given an HttpServletRequest request and HttpServletResponse response,which sets a cookie "username"with the value "joe" in a servlet?()
- Arequest.addCookie("username", "joe")
- Brequest.setCookie("username", "joe")
- Cresponse.addCookie("username", "joe")
- Drequest.addHeader(new Cookie("username", "joe"))
- Erequest.addCookie(new Cookie("username", "joe"))
- Fresponse.addCookie(new Cookie("username", "joe"))