单项选择题

下列是Request对象的主要方法的是()

A.setAttribute(String name,Object object)
B.getAttribute(String name)
C.getCookies()
D.put(String key,Object value)