Given a header in an HTTP request:
X-Retries: 4
Which two retrieve the value of the header from a given HttpServletRequest request? (Choose
two.)
A.
request.getHeader(“X-Retries”)
B.
request.getIntHeader(“X-Retries”)
C.
request.getRequestHeader(“X-Retries”)
D.
request.getHeaders(“X-Retries”).get(0)
E.
request.getRequestHeaders(“X-Retries”).get(0)
Explanation: