单项选择题

在Servlet中处理请求时取得消息头信息,可以使用如下的哪个方法()

A.getAttribute()
B.getParamter()
C.getParameterValues()
D.getHeader()