nerdexam
Oracle

1Z0-899 · Question #28

Given a header in an HI IP request: X-Retries: 4 A Which two retrieve the value of the header from a given HttpServletRequest request? (Choose two)

The correct answer is A. request-getHeader("X-Retries") B. request.getlntHeader("X-Retries"). See the full explanation below for the reasoning.

Question

Given a header in an HI IP request: X-Retries: 4 A Which two retrieve the value of the header from a given HttpServletRequest request? (Choose two)

Options

  • Arequest-getHeader("X-Retries")
  • Brequest.getlntHeader("X-Retries")
  • Crequest.getRequestHeader("X-Retries")
  • Drequest.getHeaders{"X-Retries").get(0)
  • Erequest.getRequestHeaders("X-Retries").get(0)

How the community answered

(35 responses)
  • A
    74% (26)
  • C
    3% (1)
  • D
    9% (3)
  • E
    14% (5)

Community Discussion

No community discussion yet for this question.

Full 1Z0-899 Practice