top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

What is the use of servlet wrapper classes?

0 votes
710 views
What is the use of servlet wrapper classes?
posted Nov 7, 2017 by Gn Guruswamy

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

Servlet HTTP API provides two wrapper classesHttpServletRequestWrapper and HttpServletResponseWrapper. These wrapper classes are provided to help developers with custom implementation of servlet request and response types. We can extend these classes and override only specific methods we need to implement for custom request and response objects. These classes are not used in normal servlet programming.

answer Nov 8, 2017 by Jon Deck
...