单项选择题

下面哪项不是session对象的方法()。

A.getAttribute(Stringname)
B.invalidate()
C.getServletInfo()
D.setAttribute(String name,Object value)