Question 39 of 72 from exam 1Z0-900: Java EE 7 Application Developer

Question 39 of 72 from exam 1Z0-900: Java EE 7 Application Developer

Question

Given the following code:

‘@WebServiet(urlPatterns = {"/myServlet}, asyncSupported=true}
public class NonBlockingServiet extends HittpServiet{
protected void processRequest (HttpServletRequest req,
HttpServletResponse res)
throws ServletException, IOException {
AsyncContext ac = req.startAsyne();
// Tine

What should you do at line 1 to enable this servlet receive request data without blocking?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

D.