Given a header in an HTTP request: X-Retries:4 Which two retrieve the value of the header from a given ServletRequest request? ()
- A、 request.getHeader (“X-Retries”)
- B、 request.getIntHeader (“X-Retries”)
- C、 request.getRequestHeader (“x-Retries”)
- D、 request.getHeaders (“X-Retries”).get (0)
- E、 re request.getRequest Headers (“X-Retries”). Get (0)
正确答案:A,B
答案解析:有
微信扫一扫手机做题