In asynchronous servlets, the __________ method of AsyncContext sends the response to the client.
- complete()
- finish()
- getResponseWriter()
- sendResponse()
In asynchronous servlets, the complete() method of AsyncContext is used to send the response to the client.
Loading...
Related Quiz
- What is the primary purpose of garbage collection in Java?
- Which of the following is a recommended approach to handle database connections in servlets?
- Describe the role of Subresource Integrity (SRI) in preventing XSS attacks.
- The return type of the method used to retrieve a servlet initialization parameter is _________.
- If an application needs to clean up resources when the application is shut down, which listener should be used?