找考题网-背景图
单项选择题

Youneedtocreateaservletfilterthatstoresallrequestheaderstoadatabaseforallrequeststothewebapplication’shomepage"/index.jsp".WhichHttpServletRequestmethodallowsyoutoretrievealloftherequestheaders?()
A.String[]getHeaderNames()
B.String[]getRequestHeaders()
C.java.util.IteratorgetHeaderNames()
D.java.util.IteratorgetRequestHeaders()
E.java.util.EnumerationgetHeaderNames()

A.jsp".WhichHttpServletRequestmethodallowsyoutoretrievealloftherequestheaders?()
A.String[]getHeaderNames()
B.String[]getRequestHeaders()
C.java.util.IteratorgetHeaderNames()
D.java.util.IteratorgetRequestHeaders()
E.java.util.EnumerationgetHeaderNames()
热门试题