试题详情
单项选择题 You need to create a servlet filter that stores all request headers to a database for all requests to the webapplication’s home page "/index.jsp". Which HttpServletRequest method allows you to retrieve all of therequest headers?()

A、String[] getHeaderNames()

B、String[] getRequestHeaders()

C、java.util.Iterator getHeaderNames()

D、java.util.Iterator getRequestHeaders()

E、java.util.Enumeration getHeaderNames()

  • E
  • 关注下方微信公众号,在线模考后查看

热门试题