Handles incoming HTTP(S) requests
- request - Contains the request object, taken from HttpServlet's doGet/doPost method.
- response - Contains the response object, taken from HttpServlet's doGet/doPost method.
This method handles request that comes from the HTTP client and writes response.
Call this method from doGet() or doPost() methods of HttpServlet. The response must not be changed in calling code after execution of the method.
Got questions or comments about this topic? Tell us about them.